--- np2/sound/sound.h 2004/03/24 06:07:57 1.7 +++ np2/sound/sound.h 2004/07/01 11:42:54 1.8 @@ -3,6 +3,8 @@ #define SOUNDCALL #endif +#if !defined(DISABLE_SOUND) + typedef void (SOUNDCALL * SOUNDCB)(void *hdl, SINT32 *pcm, UINT count); typedef struct { @@ -89,3 +91,13 @@ void SOUNDCALL pcmmix_getpcm(PCMMIX hdl, } #endif +#else + +#define sound_pcmlock() (NULL) +#define sound_pcmunlock(h) +#define sound_reset() +#define sound_changeclock() +#define sound_sync() + +#endif +