# win32_s.h

Go to the documentation of this file.

    00001 /* $Id: win32_s.h 12971 2008-05-06 15:11:33Z rubidium $ */
    00002
    00005 #ifndef SOUND_WIN32_H
    00006 #define SOUND_WIN32_H
    00007
    00008 #include "sound_driver.hpp"
    00009
    00010 class SoundDriver_Win32: public SoundDriver {
    00011 public:
    00012   /* virtual */ const char *Start(const char * const *param);
    00013
    00014   /* virtual */ void Stop();
    00015 };
    00016
    00017 class FSoundDriver_Win32: public SoundDriverFactory<FSoundDriver_Win32> {
    00018 public:
    00019   static const int priority = 10;
    00020   /* virtual */ const char *GetName() { return "win32"; }
    00021   /* virtual */ const char *GetDescription() { return "Win32 WaveOut Driver"; }
    00022   /* virtual */ Driver *CreateInstance() { return new SoundDriver_Win32(); }
    00023 };
    00024
    00025 #endif /* SOUND_WIN32_H */