]> git.sesse.net Git - vlc/commitdiff
* Forgot one fix in my previous commit. As usual.
authorSam Hocevar <sam@videolan.org>
Sun, 24 Feb 2002 22:12:10 +0000 (22:12 +0000)
committerSam Hocevar <sam@videolan.org>
Sun, 24 Feb 2002 22:12:10 +0000 (22:12 +0000)
plugins/dsp/aout_dsp.c

index c2260072d9549bc05e65c7a6f1f97f877c4c9245..e8235f282137b2e274bd88772222b0a99381932e 100644 (file)
@@ -2,7 +2,7 @@
  * aout_dsp.c : dsp functions library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: aout_dsp.c,v 1.23 2002/02/24 22:06:50 sam Exp $
+ * $Id: aout_dsp.c,v 1.24 2002/02/24 22:12:10 sam Exp $
  *
  * Authors: Michel Kaempf <maxx@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -188,7 +188,7 @@ static int aout_SetFormat( aout_thread_t *p_aout )
 
     /* Set the output rate */
     i_rate = p_aout->i_rate;
-    if( ioctl( p_aout->p_sys->i_fd, SNDCTL_DSP_SPEED, &l_rate ) < 0 )
+    if( ioctl( p_aout->p_sys->i_fd, SNDCTL_DSP_SPEED, &i_rate ) < 0 )
     {
         intf_ErrMsg( "aout error: can't set audio output rate (%i)",
                      p_aout->i_rate );