comparison SDL_sound.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 c4b8c39a9798
children 25ee62c6b333
comparison
equal deleted inserted replaced
61:7d3a6ea7f1f0 62:b13fafb976be
216 */ 216 */
217 void Sound_SetError(const char *err) 217 void Sound_SetError(const char *err)
218 { 218 {
219 if (err != NULL) 219 if (err != NULL)
220 { 220 {
221 _D(("Sound_SetError(\"%s\");\n", err)); 221 SNDDBG(("Sound_SetError(\"%s\");\n", err));
222 SDL_SetError(err); 222 SDL_SetError(err);
223 } /* if */ 223 } /* if */
224 } /* Sound_SetError */ 224 } /* Sound_SetError */
225 225
226 226
393 if (samplesList != NULL) 393 if (samplesList != NULL)
394 internal->prev = sample; 394 internal->prev = sample;
395 } /* if */ 395 } /* if */
396 samplesList = sample; 396 samplesList = sample;
397 397
398 _D(("New sample DESIRED format: %s format, %d rate, %d channels.\n", 398 SNDDBG(("New sample DESIRED format: %s format, %d rate, %d channels.\n",
399 fmt_to_str(sample->desired.format), 399 fmt_to_str(sample->desired.format),
400 sample->desired.rate, 400 sample->desired.rate,
401 sample->desired.channels)); 401 sample->desired.channels));
402 402
403 _D(("New sample ACTUAL format: %s format, %d rate, %d channels.\n", 403 SNDDBG(("New sample ACTUAL format: %s format, %d rate, %d channels.\n",
404 fmt_to_str(sample->actual.format), 404 fmt_to_str(sample->actual.format),
405 sample->actual.rate, 405 sample->actual.rate,
406 sample->actual.channels)); 406 sample->actual.channels));
407 407
408 _D(("On-the-fly conversion: %s.\n", 408 SNDDBG(("On-the-fly conversion: %s.\n",
409 internal->sdlcvt.needed ? "ENABLED" : "DISABLED")); 409 internal->sdlcvt.needed ? "ENABLED" : "DISABLED"));
410 410
411 return(1); 411 return(1);
412 } /* init_sample */ 412 } /* init_sample */
413 413
414 414