#define USE_AUTO_KEY 5
#define USE_AUTO_KEY_RELEASE 6
#define USE_AUTO_KEY_CAPS
+#define USE_SOUND_VOLUME 1
#define USE_DEBUGGER
#define USE_STATE
#define USE_JOYSTICK
#include "../../common.h"
#include "../../fileio.h"
+#ifdef USE_SOUND_VOLUME
+static const _TCHAR *sound_device_caption[] = {
+ _T("PSG"),
+};
+#endif
+
class EMU;
class DEVICE;
class EVENT;
// sound generation
void initialize_sound(int rate, int samples);
uint16* create_sound(int* extra_frames);
- int sound_buffer_ptr();
+ int get_sound_buffer_ptr();
+#ifdef USE_SOUND_VOLUME
+ void set_sound_device_volume(int ch, int decibel_l, int decibel_r);
+#endif
// notify key
void key_down(int code, bool repeat);
// user interface
void open_cart(int drv, const _TCHAR* file_path);
void close_cart(int drv);
- bool cart_inserted(int drv);
+ bool is_cart_inserted(int drv);
void play_tape(const _TCHAR* file_path);
void rec_tape(const _TCHAR* file_path);
void close_tape();
- bool tape_inserted();
- bool now_skip();
+ bool is_tape_inserted();
+ bool is_frame_skippable();
void update_config();
void save_state(FILEIO* state_fio);