21 LPDIRECTSOUND8 m_lpDirectSound;
22 LPLPDIRECTSOUNDBUFFER* m_lpBuffer;
24 BOOL* m_bStartedThisFrame;
26 int m_nChannelsPerSample;
31 BOOL CreateBuffer(
int index,
int length,
int copies);
32 BOOL LoadBuffer(
int index, BYTE *buffer,
int length);
33 int LoadSound(
char *filename, BYTE **sound);
34 BOOL CopyBuffer(
int index,
int copies);
43 void load(
char *filename,
int copies=1);
44 void play(
int index, BOOL looping=FALSE);