[plug] Re: alsa /etc/asound.conf and .asoundrc ignored
Lucas van staden
lvs at dedmeet.com
Tue Oct 20 23:12:22 WST 2009
Ok,
I have finally solved this, and for others I post my findings here, as it
took quite some searching to solve this. (see quiet a few posts about the
net with the same question as mine)
It was not that the /etc/asound.conf / ~/.asoundrc files were ignored.
>From my own findings, making changes to these files, and then using aplay -L
to list the pcm devices does not work.
Seems like aplay -L just lists the defaults (?)
I have seen the same happen in Ubuntu Karmic, where the new ladcomp pcm
exists, as I can use it, but it is not listed.
not even in alsamixer, (softvolume does appear in mixer, but still not in
aplay -L)
It was thus incorrectly assumed that the new pcm device must be visible to
the utilities (?), assumtion drawn from the fact that softvolume does.
It seems like Ubuntu Jaunty has an issue with libasound2.
it has not been compiled to include the ladcomp libs/calls (or whatever was
required to make alsa 'talk' to the ladcomp filters stored in
/usr/lib/ladspa (or /usr/lib64/ladspa))
So alsa was looking at the config files, but not accepting my changes as it
could not load the filters/libs requested.
This was seen clearly by running the command:
speaker-test -Dladcomp -c2 -twav
on the Jaunty based machine, which gave the error:
ALSA lib pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM ladcomp
Playback open error: -2,No such file or directory
Running the same command on Ubuntu Karmic (9.10), works fine with the exact
same config setup as tried in Jaunty
Now, I wonder if it actually works to normalise the volume......will find
put soon :)
-Lucas
On Mon, Oct 19, 2009 at 10:36 AM, Lucas van Staden <lvs at dedmeet.com> wrote:
> Hi,
>
> I am stuck, been hunting for a solution via google for hours...
>
> I am attempting to add a new pcm device to my alsa configuration, making
> use of the technique described here:
>
> http://alsa.opensrc.org/index.php/Ladspa_(plugin)<http://alsa.opensrc.org/index.php/Ladspa_%28plugin%29>
>
> This is to see how well it can normalise volume on avi files.
>
> No matter what I try, the new control / device does not appear to be
> created.
> I check by using aplay -L, and it is not listed.
> I tried to point a player to using it, no sound.
>
> As a test, I also tried to create a softvolume control, as described here,
> just to see if it works, but same, nothing.
>
> I can only conclude that for some reason alsa is not loading the
> information defined in /etc/asound.conf or ~/.asoundrc
>
> I am using Ubuntu Jaunty.
> I uninstalled pulseaudio from this box, as it and xbmc did not work well
> together.
>
> Any ideas?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20091020/fe92c5b1/attachment.html>
More information about the plug
mailing list