OSDN Git Service

[VM] Apply VM_TEMPLATE to all VMs.
[csp-qt/common_source_project-fm7.git] / source / src / vm / scv / sound.h
index 6c5b514..60e3b67 100644 (file)
@@ -68,8 +68,9 @@ private:
        void process_cmd();
        
 public:
-       SOUND(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {
-               set_device_name(_T("SOUND"));
+       SOUND(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
+       {
+               set_device_name(_T("Sound"));
        }
        ~SOUND() {}
        
@@ -80,6 +81,7 @@ public:
        void event_callback(int event_id, int err);
        void mix(int32_t* buffer, int cnt);
        void set_volume(int ch, int decibel_l, int decibel_r);
+       void decl_state();
        void save_state(FILEIO* state_fio);
        bool load_state(FILEIO* state_fio);