From 6ed8213049460b0e1b0fcc76d3c6bdbc73a81504 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 5 Nov 2016 01:52:28 -0700 Subject: [PATCH] Fixed Windows build --- src/audio/SDL_audiocvt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audio/SDL_audiocvt.c b/src/audio/SDL_audiocvt.c index 6eed72bc3..8e399afd0 100644 --- a/src/audio/SDL_audiocvt.c +++ b/src/audio/SDL_audiocvt.c @@ -211,9 +211,9 @@ SDL_ConvertAudio(SDL_AudioCVT * cvt) static void SDLCALL SDL_Convert_Byteswap(SDL_AudioCVT *cvt, SDL_AudioFormat format) { - #if DEBUG_CONVERT - fprintf(stderr, "Converting byte order\n"); - #endif +#if DEBUG_CONVERT + printf("Converting byte order\n"); +#endif switch (SDL_AUDIO_BITSIZE(format)) { #define CASESWAP(b) \ @@ -487,7 +487,7 @@ SDL_BuildAudioCVT(SDL_AudioCVT * cvt, if ((src_rate == 0) || (dst_rate == 0)) { return SDL_SetError("Source or destination rate is zero"); } -#ifdef DEBUG_CONVERT +#if DEBUG_CONVERT printf("Build format %04x->%04x, channels %u->%u, rate %d->%d\n", src_fmt, dst_fmt, src_channels, dst_channels, src_rate, dst_rate); #endif