ladspa plugins in .asoundrc and pulseaudio don't play nice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-lib (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
when using ladspa plugins in a custom .asoundrc when using pulseaudio applications fail to work with the following output:
~$ aplay tmp/foo.wav
ALSA lib pcm.c:2211:
aplay: main:608: audio open error: File exists
example .asoundrc:
pcm.!default {
type plug
slave.pcm amp
}
pcm.amp {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa";
plugins [
{
label amp
input {
controls [ 6 ]
}
}
]
}
If I remove pulseaudio binary from /usr/bin and reboot (to start a fresh) the ladspa plugin works perfectly.
~$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
~$ apt-cache policy libasound2
libasound2:
Installed: 1.0.20-3ubuntu6.1
Candidate: 1.0.20-3ubuntu6.1
Version table:
*** 1.0.20-3ubuntu6.1 0
500 http://
100 /var/lib/
1.
500 http://
ProblemType: Bug
Architecture: amd64
Date: Sun Jan 31 08:53:17 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: libasound2 1.0.20-3ubuntu6.1
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
SHELL=/bin/bash
ProcVersionSign
SourcePackage: alsa-lib
Uname: Linux 2.6.31-17-generic x86_64
XsessionErrors: (polkit-
Your asoundrc is invalid (incorrect syntax).