Mercurial > SDL_sound_CoreAudio
comparison decoders/aiff.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 |
comparison
equal
deleted
inserted
replaced
61:7d3a6ea7f1f0 | 62:b13fafb976be |
---|---|
149 { | 149 { |
150 /* it's a no-op. */ | 150 /* it's a no-op. */ |
151 } /* AIFF_quit */ | 151 } /* AIFF_quit */ |
152 | 152 |
153 | 153 |
154 /* | 154 /* |
155 * Sample rate is encoded as an "80 bit IEEE Standard 754 floating point | 155 * Sample rate is encoded as an "80 bit IEEE Standard 754 floating point |
156 * number (Standard Apple Numeric Environment [SANE] data type Extended)". | 156 * number (Standard Apple Numeric Environment [SANE] data type Extended)". |
157 * Whose bright idea was that? | 157 * Whose bright idea was that? |
158 * | 158 * |
159 * This function was adapted from libsndfile, and while I do know a little | 159 * This function was adapted from libsndfile, and while I do know a little |
342 a->bytesLeft = bytes_per_sample * c.numSampleFrames; | 342 a->bytesLeft = bytes_per_sample * c.numSampleFrames; |
343 internal->decoder_private = (void *) a; | 343 internal->decoder_private = (void *) a; |
344 | 344 |
345 sample->flags = SOUND_SAMPLEFLAG_NONE; | 345 sample->flags = SOUND_SAMPLEFLAG_NONE; |
346 | 346 |
347 _D(("AIFF: Accepting data stream.\n")); | 347 SNDDBG(("AIFF: Accepting data stream.\n")); |
348 return(1); /* we'll handle this data. */ | 348 return(1); /* we'll handle this data. */ |
349 } /* AIFF_open */ | 349 } /* AIFF_open */ |
350 | 350 |
351 | 351 |
352 static void AIFF_close(Sound_Sample *sample) | 352 static void AIFF_close(Sound_Sample *sample) |