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
|
|
|
|
{
|
|
|
|
public:
|
2014-02-05 10:22:07 +01:00
|
|
|
virtual ~S9xSoundDriver () {}
|
2018-11-02 21:52:26 +01:00
|
|
|
virtual void init () = 0;
|
|
|
|
virtual void terminate () = 0;
|
2018-12-28 23:32:32 +01:00
|
|
|
virtual bool open_device () = 0;
|
2018-11-02 21:52:26 +01:00
|
|
|
virtual void start () = 0;
|
|
|
|
virtual void stop () = 0;
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __GTK_SOUND_DRIVER_H */
|