|
|
| version 1.7, 2004/03/24 06:07:57 | version 1.9, 2005/02/09 20:11:35 |
|---|---|
| Line 3 | Line 3 |
| #define SOUNDCALL | #define SOUNDCALL |
| #endif | #endif |
| #if !defined(DISABLE_SOUND) | |
| typedef void (SOUNDCALL * SOUNDCB)(void *hdl, SINT32 *pcm, UINT count); | typedef void (SOUNDCALL * SOUNDCB)(void *hdl, SINT32 *pcm, UINT count); |
| typedef struct { | typedef struct { |
| Line 80 typedef struct { | Line 82 typedef struct { |
| extern "C" { | extern "C" { |
| #endif | #endif |
| BOOL pcmmix_regist(PMIXDAT *dat, void *datptr, UINT datsize, UINT rate); | BRESULT pcmmix_regist(PMIXDAT *dat, void *datptr, UINT datsize, UINT rate); |
| BOOL pcmmix_regfile(PMIXDAT *dat, const char *fname, UINT rate); | BRESULT pcmmix_regfile(PMIXDAT *dat, const OEMCHAR *fname, UINT rate); |
| void SOUNDCALL pcmmix_getpcm(PCMMIX hdl, SINT32 *pcm, UINT count); | void SOUNDCALL pcmmix_getpcm(PCMMIX hdl, SINT32 *pcm, UINT count); |
| Line 89 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 | |