# HG changeset patch # User Ryan C. Gordon # Date 1025671486 0 # Node ID ce998ee6194fd85e3ce7c229276cbe86b930e311 # Parent ef30365ac717303af4ff599577faad1f6d69e91b Sync'd with latest altcvt. diff -r ef30365ac717 -r ce998ee6194f SDL_sound.c --- a/SDL_sound.c Wed Jul 03 04:33:49 2002 +0000 +++ b/SDL_sound.c Wed Jul 03 04:44:46 2002 +0000 @@ -546,7 +546,8 @@ sample->actual.rate, desired.format, desired.channels, - desired.rate) == -1) + desired.rate, + sample->buffer_size) == -1) { Sound_SetError(SDL_GetError()); funcs->close(sample); diff -r ef30365ac717 -r ce998ee6194f audio_convert.c --- a/audio_convert.c Wed Jul 03 04:33:49 2002 +0000 +++ b/audio_convert.c Wed Jul 03 04:44:46 2002 +0000 @@ -579,7 +579,8 @@ int Sound_BuildAudioCVT(Sound_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, Uint32 src_rate, - Uint16 dst_format, Uint8 dst_channels, Uint32 dst_rate) + Uint16 dst_format, Uint8 dst_channels, Uint32 dst_rate, + Uint32 dst_size) { /* Start off with no conversion necessary */ cvt->needed = 0;