2018-11-16 00:42:29 +01:00
|
|
|
/*****************************************************************************\
|
|
|
|
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
|
|
|
|
This file is licensed under the Snes9x License.
|
|
|
|
For further information, consult the LICENSE file in the root directory.
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
#ifndef __GTK_SOUND_DRIVER_H
|
|
|
|
#define __GTK_SOUND_DRIVER_H
|
|
|
|
|
|
|
|
#include "gtk_s9x.h"
|
|
|
|
|
|
|
|
class S9xSoundDriver
|
|
|
|
{
|
2019-02-07 02:41:33 +01:00
|
|
|
public:
|
|
|
|
virtual ~S9xSoundDriver()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
virtual void init() = 0;
|
|
|
|
virtual void terminate() = 0;
|
|
|
|
virtual bool open_device() = 0;
|
|
|
|
virtual void start() = 0;
|
|
|
|
virtual void stop() = 0;
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __GTK_SOUND_DRIVER_H */
|