Mercurial > SDL_sound_CoreAudio
diff decoders/voc.c @ 62:b13fafb976be
Changed _D macro to DBGSND.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 24 Sep 2001 15:31:25 +0000 |
parents | ea58bc3b15d7 |
children | 40006625142a |
line wrap: on
line diff
--- a/decoders/voc.c Mon Sep 24 15:31:03 2001 +0000 +++ b/decoders/voc.c Mon Sep 24 15:31:25 2001 +0000 @@ -88,7 +88,7 @@ Uint32 bufpos; /* byte position in internal->buffer. */ } vs_t; -/* Size field */ +/* Size field */ /* SJB: note that the 1st 3 are sometimes used as sizeof(type) */ #define ST_SIZE_BYTE 1 #define ST_SIZE_8BIT 1 @@ -187,7 +187,7 @@ if (SDL_RWread(src, bits24, sizeof (bits24), 1) != 1) return 1; /* assume that's the end of the file. */ - + /* Size is an 24-bit value. Ugh. */ sblen = ( (bits24[0]) | (bits24[1] << 8) | (bits24[2] << 16) ); @@ -444,7 +444,7 @@ return(0); } /* if */ - _D(("VOC: Accepting data stream.\n")); + SNDDBG(("VOC: Accepting data stream.\n")); sample->actual.format = (v->size == ST_SIZE_WORD) ? AUDIO_S16LSB:AUDIO_U8; sample->actual.channels = v->channels; sample->flags = SOUND_SAMPLEFLAG_NONE;