peter1138@2743: /* $Id$ */ bjarni@2736: rubidium@9111: /** @file cocoa_s.h Base for Cocoa sound handling. */ rubidium@9111: bjarni@2736: #ifndef SOUND_COCOA_H bjarni@2736: #define SOUND_COCOA_H bjarni@2736: peter1138@7170: #include "sound_driver.hpp" bjarni@2736: peter1138@7170: class SoundDriver_Cocoa: 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_Cocoa: public SoundDriverFactory { peter1138@7170: public: peter1138@7193: static const int priority = 10; peter1138@7170: /* virtual */ const char *GetName() { return "cocoa"; } peter1138@7170: /* virtual */ const char *GetDescription() { return "Cocoa Sound Driver"; } peter1138@7170: /* virtual */ Driver *CreateInstance() { return new SoundDriver_Cocoa(); } peter1138@7170: }; bjarni@2736: Darkvater@6124: #endif /* SOUND_COCOA_H */