From 20e17cf9dab89d2c3b5e6ba320a3d42e0582b35c Mon Sep 17 00:00:00 2001 From: Renaud Dartus <reno@videolan.org> Date: Thu, 12 Jul 2001 20:44:52 +0000 Subject: [PATCH] I forgot to commit others aout plugins --- plugins/alsa/aout_alsa.c | 4 +++- plugins/beos/aout_beos.cpp | 4 +++- plugins/directx/aout_directx.c | 4 +++- plugins/dsp/aout_dsp.c | 4 +++- plugins/dummy/aout_dummy.c | 4 +++- plugins/macosx/aout_macosx.c | 4 +++- plugins/sdl/aout_sdl.c | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/plugins/alsa/aout_alsa.c b/plugins/alsa/aout_alsa.c index 700432f979..59330f4bdc 100644 --- a/plugins/alsa/aout_alsa.c +++ b/plugins/alsa/aout_alsa.c @@ -2,7 +2,7 @@ * aout_alsa.c : Alsa functions library ***************************************************************************** * Copyright (C) 2000 VideoLAN - * $Id: aout_alsa.c,v 1.17 2001/07/11 02:01:03 sam Exp $ + * $Id: aout_alsa.c,v 1.18 2001/07/12 20:44:52 reno Exp $ * * Authors: Henri Fallon <henri@videolan.org> - Original Author * Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API @@ -284,6 +284,8 @@ static int aout_SetFormat( aout_thread_t *p_aout ) return( -1 ); } + p_aout->i_latency = 0; + return( 0 ); } diff --git a/plugins/beos/aout_beos.cpp b/plugins/beos/aout_beos.cpp index b7d86bedac..e768895279 100644 --- a/plugins/beos/aout_beos.cpp +++ b/plugins/beos/aout_beos.cpp @@ -2,7 +2,7 @@ * aout_beos.cpp: BeOS audio output ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: aout_beos.cpp,v 1.14 2001/05/31 03:57:54 sam Exp $ + * $Id: aout_beos.cpp,v 1.15 2001/07/12 20:44:52 reno Exp $ * * Authors: Jean-Marc Dressler <polux@via.ecp.fr> * Samuel Hocevar <sam@zoy.org> @@ -180,6 +180,8 @@ static int aout_Open( aout_thread_t *p_aout ) *****************************************************************************/ static int aout_SetFormat( aout_thread_t *p_aout ) { + p_aout->i_latency = 0; + return( 0 ); } diff --git a/plugins/directx/aout_directx.c b/plugins/directx/aout_directx.c index 1225931a33..61bbb858db 100644 --- a/plugins/directx/aout_directx.c +++ b/plugins/directx/aout_directx.c @@ -2,7 +2,7 @@ * aout_directx.c: Windows DirectX audio output method ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: aout_directx.c,v 1.4 2001/07/08 17:45:52 gbazin Exp $ + * $Id: aout_directx.c,v 1.5 2001/07/12 20:44:52 reno Exp $ * * Authors: Gildas Bazin <gbazin@netcourrier.com> * @@ -257,6 +257,8 @@ static int aout_SetFormat( aout_thread_t *p_aout ) intf_WarnMsg( 3, "aout: DirectX aout_SetFormat cannot create buffer"); return( 1 ); } + + p_aout->i_latency = 0; return( 0 ); } diff --git a/plugins/dsp/aout_dsp.c b/plugins/dsp/aout_dsp.c index f055890f01..a13de63666 100644 --- a/plugins/dsp/aout_dsp.c +++ b/plugins/dsp/aout_dsp.c @@ -2,7 +2,7 @@ * aout_dsp.c : dsp functions library ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: aout_dsp.c,v 1.13 2001/05/30 17:03:12 sam Exp $ + * $Id: aout_dsp.c,v 1.14 2001/07/12 20:44:52 reno Exp $ * * Authors: Michel Kaempf <maxx@via.ecp.fr> * Samuel Hocevar <sam@zoy.org> @@ -239,6 +239,8 @@ static int aout_SetFormat( aout_thread_t *p_aout ) p_aout->l_rate = l_rate; } + p_aout->i_latency = 0; + return( 0 ); } diff --git a/plugins/dummy/aout_dummy.c b/plugins/dummy/aout_dummy.c index 397ef0eb73..bb6304ca16 100644 --- a/plugins/dummy/aout_dummy.c +++ b/plugins/dummy/aout_dummy.c @@ -2,7 +2,7 @@ * aout_dummy.c : dummy audio output plugin ***************************************************************************** * Copyright (C) 2000, 2001 VideoLAN - * $Id: aout_dummy.c,v 1.13 2001/06/14 01:49:44 sam Exp $ + * $Id: aout_dummy.c,v 1.14 2001/07/12 20:44:52 reno Exp $ * * Authors: Samuel Hocevar <sam@zoy.org> * @@ -114,6 +114,8 @@ static int aout_Open( aout_thread_t *p_aout ) *****************************************************************************/ static int aout_SetFormat( aout_thread_t *p_aout ) { + p_aout->i_latency = 0; + return( 0 ); } diff --git a/plugins/macosx/aout_macosx.c b/plugins/macosx/aout_macosx.c index eabf654783..0f5b03b037 100644 --- a/plugins/macosx/aout_macosx.c +++ b/plugins/macosx/aout_macosx.c @@ -2,7 +2,7 @@ * aout_darwin.c : Darwin audio output plugin ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: aout_macosx.c,v 1.2 2001/05/07 03:14:09 stef Exp $ + * $Id: aout_macosx.c,v 1.3 2001/07/12 20:44:52 reno Exp $ * * Authors: Colin Delacroix <colin@zoy.org> * @@ -337,6 +337,8 @@ static int aout_SetFormat( aout_thread_t *p_aout ) } } + p_aout->i_latency = 0; + /* add callback */ err = AudioDeviceAddIOProc( p_aout->p_sys->device, (AudioDeviceIOProc)appIOProc, diff --git a/plugins/sdl/aout_sdl.c b/plugins/sdl/aout_sdl.c index 6a3c2acbee..0df6f0aac2 100644 --- a/plugins/sdl/aout_sdl.c +++ b/plugins/sdl/aout_sdl.c @@ -2,7 +2,7 @@ * aout_sdl.c : audio sdl functions library ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: aout_sdl.c,v 1.13 2001/05/30 17:03:12 sam Exp $ + * $Id: aout_sdl.c,v 1.14 2001/07/12 20:44:52 reno Exp $ * * Authors: Michel Kaempf <maxx@via.ecp.fr> * Samuel Hocevar <sam@zoy.org> @@ -237,6 +237,8 @@ static int aout_SetFormat( aout_thread_t *p_aout ) p_aout->p_sys->b_active = 1; SDL_PauseAudio( 0 ); + p_aout->i_latency = 0; + return( 0 ); } -- 2.25.4