comparison SDL_sound.c @ 382:ce998ee6194f

Sync'd with latest altcvt.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 03 Jul 2002 04:44:46 +0000
parents cbb15ecf423a
children fb519e6028e3
comparison
equal deleted inserted replaced
381:ef30365ac717 382:ce998ee6194f
544 sample->actual.format, 544 sample->actual.format,
545 sample->actual.channels, 545 sample->actual.channels,
546 sample->actual.rate, 546 sample->actual.rate,
547 desired.format, 547 desired.format,
548 desired.channels, 548 desired.channels,
549 desired.rate) == -1) 549 desired.rate,
550 sample->buffer_size) == -1)
550 { 551 {
551 Sound_SetError(SDL_GetError()); 552 Sound_SetError(SDL_GetError());
552 funcs->close(sample); 553 funcs->close(sample);
553 SDL_RWseek(internal->rw, pos, SEEK_SET); /* set for next try... */ 554 SDL_RWseek(internal->rw, pos, SEEK_SET); /* set for next try... */
554 return(0); 555 return(0);