Mercurial > SDL_sound_CoreAudio
comparison decoders/wav.c @ 387:fb519e6028e3
Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 05 Jul 2002 23:11:51 +0000 |
parents | cbb15ecf423a |
children | c42ac9ee2ce4 |
comparison
equal
deleted
inserted
replaced
386:8c8ecd1008c9 | 387:fb519e6028e3 |
---|---|
645 /* add other types here. */ | 645 /* add other types here. */ |
646 | 646 |
647 default: | 647 default: |
648 SNDDBG(("WAV: Format 0x%X is unknown.\n", | 648 SNDDBG(("WAV: Format 0x%X is unknown.\n", |
649 (unsigned int) fmt->wFormatTag)); | 649 (unsigned int) fmt->wFormatTag)); |
650 Sound_SetError("WAV: Unsupported format"); | 650 BAIL_MACRO("WAV: Unsupported format", 0); |
651 return(0); /* not supported whatsoever. */ | |
652 } /* switch */ | 651 } /* switch */ |
653 | 652 |
654 assert(0); /* shouldn't hit this point. */ | 653 assert(0); /* shouldn't hit this point. */ |
655 return(0); | 654 return(0); |
656 } /* read_fmt */ | 655 } /* read_fmt */ |