Bug#643791: pulseaudio: Breaks mplayer sound output on second sound device

Sjoerd Simons sjoerd at luon.net
Sat Oct 1 10:39:26 UTC 2011


Severity: important
thanks,

On Thu, 2011-09-29 at 20:11 +0200, Christian Ohm wrote:
> 
> I have two sound devices, both using alsa directly, and pulseaudio
> installed for a bluetooth headset. When mplayer is configured to use the
> second one with "ao=alsa:device=default=1" in its config, after the
> update to 1.0-3 it fails with
> 
> [AO_ALSA] alsa-lib: conf.c:4630:(snd_config_expand) Unknown parameters 1
> [AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default:1
> [AO_ALSA] Playback open error: Invalid argument
> Failed to initialize audio driver 'alsa:device=default=1'
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> 
> Using just "ao=alsa" still works, though obviously on the first device.
> Just reverting back to pulseaudio 0.9.23-1 (or uninstalling pulseaudio
> completely) makes the second sound device work again.

Since the 1.0 packaging we automatically set the default pcm control to
use pulseaudio if pulseaudio is running, which makes alsa programs
automatically do the right thing for most people. I need to check if
there is a workaround to be able to handing parameters like the one
you're trying to pass.

A solution for you should be to use device=plughw:1 to play back on your
second device.

In any case lowering the severity to important, critical is far over the
top for this one :)
-- 
Sjoerd Simons <sjoerd at luon.net>





More information about the pkg-pulseaudio-devel mailing list