diff 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
line wrap: on
line diff
--- 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);