comparison SDL_sound.c @ 341:3466dde3a846

Removed a FIXME.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 22 May 2002 09:27:12 +0000
parents 5a72981b8cba
children cbb15ecf423a
comparison
equal deleted inserted replaced
340:5a72981b8cba 341:3466dde3a846
532 /* Now we need to set up the conversion buffer... */ 532 /* Now we need to set up the conversion buffer... */
533 533
534 memcpy(&desired, (_desired != NULL) ? _desired : &sample->actual, 534 memcpy(&desired, (_desired != NULL) ? _desired : &sample->actual,
535 sizeof (Sound_AudioInfo)); 535 sizeof (Sound_AudioInfo));
536 536
537 /* !!! FIXME: Was there a good reason this wasn't here before? */
538 /* !!! FIXME: (Maybe we just assumed that it was all or nothing?) */
539 if (desired.format == 0) 537 if (desired.format == 0)
540 desired.format = sample->actual.format; 538 desired.format = sample->actual.format;
541 if (desired.channels == 0) 539 if (desired.channels == 0)
542 desired.channels = sample->actual.channels; 540 desired.channels = sample->actual.channels;
543 if (desired.rate == 0) 541 if (desired.rate == 0)