]> git.sesse.net Git - vlc/commitdiff
PulseAudio: higher priority than ALSA
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 2 Sep 2009 16:44:55 +0000 (19:44 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 12 Sep 2009 13:10:13 +0000 (16:10 +0300)
Without this, the PulseAudio output is completely useless. PulseAudio
provides ALSA emulation, so VLC would always use ALSA. Now, it will use
ALSA if PulseAudio is not available, but avoid the PulseAudio ALSA
emulation which makes more sense. Either way, if your PulseAudio setup
is broken, you are screwed - this change makes no difference.

modules/audio_output/pulse.c

index 2fc17a4eb2ceb6139260ba76498588a81fa362e3..f915a6b56e6f468599610a7b73d8edaef54e5399 100644 (file)
@@ -97,7 +97,7 @@ static void uninit(aout_instance_t *p_aout);
 vlc_module_begin ()
     set_shortname( "Pulse Audio" )
     set_description( N_("Pulseaudio audio output") )
-    set_capability( "audio output", 40 )
+    set_capability( "audio output", 160 )
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_AOUT )
     add_shortcut( "pulseaudio" )