src/sound/sdl_s.h
author rubidium
Sat, 07 Jul 2007 09:20:52 +0000
branchnoai
changeset 9631 8a2d1c2ceb88
parent 6314 f738bcf05ad6
child 7689 011afceb33b5
permissions -rw-r--r--
(svn r10461) [NoAI] -Sync with trunk r10349:r10460.
/* $Id$ */

#ifndef SOUND_SDL_H
#define SOUND_SDL_H

#include "sound_driver.hpp"

class SoundDriver_SDL: public SoundDriver {
public:
	/* virtual */ bool CanProbe() { return true; }

	/* virtual */ const char *Start(const char * const *param);

	/* virtual */ void Stop();
};

class FSoundDriver_SDL: public SoundDriverFactory<FSoundDriver_SDL> {
public:
	/* virtual */ const char *GetName() { return "sdl"; }
	/* virtual */ const char *GetDescription() { return "SDL Sound Driver"; }
	/* virtual */ Driver *CreateInstance() { return new SoundDriver_SDL(); }
};

#endif /* SOUND_SDL_H */