From 92828938a340c26b4fd5a568439ad700a1f09835 Mon Sep 17 00:00:00 2001 From: jkeil Date: Tue, 28 Aug 2001 10:54:31 +0000 Subject: [PATCH] Move the sun audio driver near the start of the list of audio drivers, so that it has priority over the 'null' driver. On solaris (without OSS drivers), the sun audio driver is now the default audio driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1726 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/audio_out.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libao2/audio_out.c b/libao2/audio_out.c index bf416ad148..8f9668df15 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -41,6 +41,9 @@ ao_functions_t* audio_out_drivers[] = { #ifdef USE_OSS_AUDIO &audio_out_oss, +#endif +#ifdef USE_SUN_AUDIO + &audio_out_sun, #endif &audio_out_null, #ifdef HAVE_ALSA5 @@ -54,9 +57,6 @@ ao_functions_t* audio_out_drivers[] = #endif #ifdef HAVE_SDL &audio_out_sdl, -#endif -#ifdef USE_SUN_AUDIO - &audio_out_sun, #endif &audio_out_pcm, // &audio_out_pss,