On Mon, Aug 18, 2014 at 04:26:16PM AEST, Martin Pitt wrote: > I don't know why aplay invokes pulseaudio (that seems wrong, as > pulseaudio usually uses ALSA as a backend), but if passing on the > environment (for DBUS_SESSION_BUS_ADDRESS etc.) helps, I'm fine with > doing that. The main reason for passing an empty environment was to > ensure that this does not use any localization.
Aplay invokes pulseaudio because if you have pulseaudio installed, ALSA is configured to send its audio via pulseaudio, so you can get individual volume control for ALSA apps. Since pulseaudio is not running, pulseaudio gets spawned. An alternative way to solve this would have been to set the environment variable PULSE_INTERNAL to 0. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1296425 Title: pulseaudio is started twice - effectively making device management impossible. Status in “alsa-plugins” package in Ubuntu: Invalid Status in “ubuntu-drivers-common” package in Ubuntu: Fix Released Bug description: On the current kubuntu 14.04 live-image (and for a 13.10 upgraded system) pulseaudio is running twice. This makes attaching/deattaching of usb-headset and other stuff impossible because the two instances fight ove rthe events. Tow reproduce just boot up the current image and do a "ps -ef | grep pulseaudio" ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: pulseaudio 1:4.0-0ubuntu10 ProcVersionSignature: Ubuntu 3.13.0-19.39-lowlatency 3.13.6 Uname: Linux 3.13.0-19-lowlatency i686 ApportVersion: 2.13.3-0ubuntu1 Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: sgh 2336 F.... pulseaudio sgh 2796 F.... pulseaudio /dev/snd/controlC0: sgh 2336 F.... pulseaudio sgh 2796 F.... pulseaudio CurrentDesktop: KDE Date: Sun Mar 23 22:36:50 2014 InstallationDate: Installed on 2013-12-24 (89 days ago) InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20131224) SourcePackage: pulseaudio UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/02/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G7ET31WW (1.13 ) dmi.board.asset.tag: Not Available dmi.board.name: 2356GCG dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG7ET31WW(1.13):bd07/02/2012:svnLENOVO:pn2356GCG:pvrThinkPadT430s:rvnLENOVO:rn2356GCG:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2356GCG dmi.product.version: ThinkPad T430s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1296425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp