tron@2186: /* $Id$ */ tron@2186: rubidium@9111: /** @file win32_s.h Base for Windows sound handling. */ rubidium@9111: tron@2174: #ifndef SOUND_WIN32_H tron@2174: #define SOUND_WIN32_H tron@2174: peter1138@7170: #include "sound_driver.hpp" tron@2174: peter1138@7170: class SoundDriver_Win32: public SoundDriver { peter1138@7170: public: peter1138@7170: /* virtual */ const char *Start(const char * const *param); peter1138@7170: peter1138@7170: /* virtual */ void Stop(); peter1138@7170: }; peter1138@7170: peter1138@7170: class FSoundDriver_Win32: public SoundDriverFactory { peter1138@7170: public: peter1138@7193: static const int priority = 10; peter1138@7170: /* virtual */ const char *GetName() { return "win32"; } peter1138@7184: /* virtual */ const char *GetDescription() { return "Win32 WaveOut Driver"; } peter1138@7170: /* virtual */ Driver *CreateInstance() { return new SoundDriver_Win32(); } peter1138@7170: }; tron@2174: Darkvater@6124: #endif /* SOUND_WIN32_H */