comparison audio_convert.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 ce998ee6194f
children 636796aed4e2
comparison
equal deleted inserted replaced
386:8c8ecd1008c9 387:fb519e6028e3
549 Uint16 format; 549 Uint16 format;
550 550
551 /* Make sure there's data to convert */ 551 /* Make sure there's data to convert */
552 if (cvt->buf == NULL) 552 if (cvt->buf == NULL)
553 { 553 {
554 Sound_SetError("No buffer allocated for conversion"); 554 __Sound_SetError("No buffer allocated for conversion");
555 return(-1); 555 return(-1);
556 } /* if */ 556 } /* if */
557 557
558 /* Return okay if no conversion is necessary */ 558 /* Return okay if no conversion is necessary */
559 cvt->len_cvt = cvt->len; 559 cvt->len_cvt = cvt->len;