win32_s.h
00001
00002
00003 #ifndef SOUND_WIN32_H
00004 #define SOUND_WIN32_H
00005
00006 #include "sound_driver.hpp"
00007
00008 class SoundDriver_Win32: public SoundDriver {
00009 public:
00010 const char *Start(const char * const *param);
00011
00012 void Stop();
00013 };
00014
00015 class FSoundDriver_Win32: public SoundDriverFactory<FSoundDriver_Win32> {
00016 public:
00017 static const int priority = 10;
00018 const char *GetName() { return "win32"; }
00019 const char *GetDescription() { return "Win32 WaveOut Driver"; }
00020 Driver *CreateInstance() { return new SoundDriver_Win32(); }
00021 };
00022
00023 #endif