--- xmil/sound/sound.h 2004/08/05 11:46:26 1.2 +++ xmil/sound/sound.h 2004/08/18 15:42:33 1.4 @@ -7,11 +7,10 @@ typedef void (SOUNDCALL * SOUNDCB)(void typedef struct { UINT rate; -// UINT32 hzbase; -// UINT32 clockbase; -// UINT32 minclock; -// UINT32 lastclock; - UINT length; + UINT32 hzbase; + UINT32 clockbase; + UINT32 minclock; + UINT32 lastclock; UINT writecount; } SOUNDCFG; @@ -22,7 +21,7 @@ extern "C" { extern SOUNDCFG soundcfg; -BOOL sound_create(UINT rate, UINT ms); +BRESULT sound_create(UINT rate, UINT ms); void sound_destroy(void); void sound_reset(void); @@ -36,7 +35,7 @@ const SINT32 *sound_pcmlock(void); void sound_pcmunlock(const SINT32 *hdl); #if defined(SUPPORT_WAVEREC) -BOOL sound_recstart(const char *filename); +BRESULT sound_recstart(const OEMCHAR *filename); void sound_recstop(void); #endif