|
|
| version 1.5, 2004/02/18 20:11:37 | version 1.8, 2004/07/01 11:42:54 |
|---|---|
| Line 3 | Line 3 |
| #define SOUNDCALL | #define SOUNDCALL |
| #endif | #endif |
| #if defined(SUPPORT_WAVEMIX) | #if !defined(DISABLE_SOUND) |
| #include "wavemix.h" | |
| #endif | |
| typedef void (SOUNDCALL * SOUNDCB)(void *hdl, SINT32 *pcm, UINT count); | typedef void (SOUNDCALL * SOUNDCB)(void *hdl, SINT32 *pcm, UINT count); |
| Line 37 void sound_sync(void); | Line 35 void sound_sync(void); |
| const SINT32 *sound_pcmlock(void); | const SINT32 *sound_pcmlock(void); |
| void sound_pcmunlock(const SINT32 *hdl); | void sound_pcmunlock(const SINT32 *hdl); |
| #if defined(SUPPORT_WAVEREC) | |
| BOOL sound_recstart(const char *filename); | |
| void sound_recstop(void); | |
| #endif | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |
| #endif | #endif |
| Line 88 void SOUNDCALL pcmmix_getpcm(PCMMIX hdl, | Line 91 void SOUNDCALL pcmmix_getpcm(PCMMIX hdl, |
| } | } |
| #endif | #endif |
| #else | |
| #define sound_pcmlock() (NULL) | |
| #define sound_pcmunlock(h) | |
| #define sound_reset() | |
| #define sound_changeclock() | |
| #define sound_sync() | |
| #endif | |