From 9e143e2a3918b7a5efe60743da1e0326cbd1362d Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 4 Jun 2001 18:42:31 +0000 Subject: fixed HAVE_ALSA5 var. bug. sorry :( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1008 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/audio_out.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libao2/audio_out.c') diff --git a/libao2/audio_out.c b/libao2/audio_out.c index ee7c8589b9..4557600dd4 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -18,8 +18,10 @@ int ao_buffersize=-1; extern ao_functions_t audio_out_oss; //extern ao_functions_t audio_out_ossold; extern ao_functions_t audio_out_null; -extern ao_functions_t audio_out_alsa5; -extern ao_functions_t audio_out_alsa9; +#ifdef HAVE_ALSA5 + extern ao_functions_t audio_out_alsa5; +#endif +//extern ao_functions_t audio_out_alsa9; extern ao_functions_t audio_out_esd; #ifdef HAVE_SDL extern ao_functions_t audio_out_sdl; @@ -29,7 +31,9 @@ ao_functions_t* audio_out_drivers[] = { &audio_out_oss, &audio_out_null, +#ifdef HAVE_ALSA5 &audio_out_alsa5, +#endif // &audio_out_alsa9, // &audio_out_esd, #ifdef HAVE_SDL -- cgit v1.2.3