Files
@ r10614:8fece88a0126
Branch filter:
Location: cpp/openttd-patchpack/source/src/sound/win32_s.h - annotation
r10614:8fece88a0126
649 B
text/x-c
(svn r14905) -Fix (r14899): in some corner cases already freed memory could be read.
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r9111:983de9c5a848 r9111:983de9c5a848 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r5475:3f5cd13d1b63 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7170:38b143754b40 r7193:2cae66b95848 r7170:38b143754b40 r7184:916bd3022c16 r7170:38b143754b40 r7170:38b143754b40 r5475:3f5cd13d1b63 r6124:7054f2e8fadf | /* $Id$ */
/** @file win32_s.h Base for Windows sound handling. */
#ifndef SOUND_WIN32_H
#define SOUND_WIN32_H
#include "sound_driver.hpp"
class SoundDriver_Win32: public SoundDriver {
public:
/* virtual */ const char *Start(const char * const *param);
/* virtual */ void Stop();
};
class FSoundDriver_Win32: public SoundDriverFactory<FSoundDriver_Win32> {
public:
static const int priority = 10;
/* virtual */ const char *GetName() { return "win32"; }
/* virtual */ const char *GetDescription() { return "Win32 WaveOut Driver"; }
/* virtual */ Driver *CreateInstance() { return new SoundDriver_Win32(); }
};
#endif /* SOUND_WIN32_H */
|