diff options
Diffstat (limited to 'modules/winwave/play.c')
-rw-r--r-- | modules/winwave/play.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/winwave/play.c b/modules/winwave/play.c index 29568ba..fb99a44 100644 --- a/modules/winwave/play.c +++ b/modules/winwave/play.c @@ -11,11 +11,6 @@ #include "winwave.h" -#define DEBUG_MODULE "winwave" -#define DEBUG_LEVEL 5 -#include <re_dbg.h> - - #define WRITE_BUFFERS 4 #define INC_WPOS(a) ((a) = (((a) + 1) % WRITE_BUFFERS)) @@ -88,7 +83,8 @@ static int dsp_write(struct auplay_st *st) res = waveOutWrite(st->waveout, wh, sizeof(*wh)); if (res != MMSYSERR_NOERROR) - DEBUG_WARNING("dsp_write: waveOutWrite: failed: %08x\n", res); + warning("winwave: dsp_write: waveOutWrite: failed: %08x\n", + res); else st->inuse++; @@ -165,7 +161,7 @@ static int write_stream_open(struct auplay_st *st, (DWORD_PTR) st, CALLBACK_FUNCTION | WAVE_FORMAT_DIRECT); if (res != MMSYSERR_NOERROR) { - DEBUG_WARNING("waveOutOpen: failed %d\n", res); + warning("winwave: waveOutOpen: failed %d\n", res); return EINVAL; } waveOutClose(st->waveout); @@ -174,7 +170,7 @@ static int write_stream_open(struct auplay_st *st, (DWORD_PTR) st, CALLBACK_FUNCTION | WAVE_FORMAT_DIRECT); if (res != MMSYSERR_NOERROR) { - DEBUG_WARNING("waveOutOpen: failed %d\n", res); + warning("winwave: waveOutOpen: failed %d\n", res); return EINVAL; } |