25 #include "vorbis/vorbisfile.h"
38 static const char*
TYPENAME() {
return "SoundD3D"; }
40 SoundD3D(LPDIRECTSOUND card, DWORD
flags, LPWAVEFORMATEX format);
41 SoundD3D(LPDIRECTSOUND card, DWORD
flags, LPWAVEFORMATEX format, DWORD len, LPBYTE
data);
46 virtual HRESULT
StreamFile(
const char* name, DWORD offset);
47 virtual HRESULT
Load(DWORD bytes, BYTE*
data);
48 virtual HRESULT
Play();
50 virtual HRESULT
Pause();
51 virtual HRESULT
Stop();
62 virtual long GetPan()
const;
63 virtual void SetPan(
long p);
91 #ifdef DIRECT_SOUND_3D
92 LPDIRECTSOUND3DBUFFER sound3d;
123 static const char*
TYPENAME() {
return "SoundCardD3D"; }
129 virtual bool GetFormat(LPWAVEFORMATEX format);
130 virtual bool SetFormat(LPWAVEFORMATEX format);
131 virtual bool SetFormat(
int bits,
int channels,
int hertz);
142 virtual bool Pause();
150 #ifdef DIRECT_SOUND_3D