tron@2186: /* $Id$ */ tron@2186: tron@2171: #ifndef SOUND_SDL_H tron@2171: #define SOUND_SDL_H tron@2171: peter1138@7666: #include "sound_driver.hpp" tron@2171: peter1138@7666: class SoundDriver_SDL: public SoundDriver { peter1138@7666: public: peter1138@7666: /* virtual */ const char *Start(const char * const *param); peter1138@7666: peter1138@7666: /* virtual */ void Stop(); peter1138@7666: }; peter1138@7666: peter1138@7666: class FSoundDriver_SDL: public SoundDriverFactory { peter1138@7666: public: peter1138@7689: static const int priority = 5; peter1138@7666: /* virtual */ const char *GetName() { return "sdl"; } peter1138@7666: /* virtual */ const char *GetDescription() { return "SDL Sound Driver"; } peter1138@7666: /* virtual */ Driver *CreateInstance() { return new SoundDriver_SDL(); } peter1138@7666: }; tron@2171: Darkvater@6314: #endif /* SOUND_SDL_H */