Re: what provides libasound_module_pcm_plughw.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 10, 2009 at 09:16:08PM -0400, Lee Revell wrote:
> OK.  I run the exact same distro here.
> 
> Normally plughw would be built into ALSA.  Not sure why it looks
> for that module.
> 
> Try removing /etc/asound.conf and creating this .asoundrc in your
> home directory:
> 
> pcm.!default {
>    type plughw
>    card 0
> }
> ctl.!default {
>    type hw
>    card 0
> }

Same result:

$ aplay 03_harvest.wav
ALSA lib pcm.c:2156:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_plughw.so
aplay: main:583: audio open error: No such file or directory

> Also post the output of "which aplay"

$ which aplay
/usr/bin/aplay

Perhaps that config file format isn't correct, e.g. I just can't use
"plughw" as drop-in replacement for "hw".

Check this out:

$ aplay -D hw  03_harvest.wav   Playing WAVE '03_harvest.wav' :
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:954: Sample format non available

Ok, that's what I expected (i.e. same as original config file using
only "hw").  But:

$ aplay  -D plughw 03_harvest.wav
Playing WAVE '03_harvest.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
<music plays>

So if I tell aplay directly to use plughw, it works.  Thus, my
suspicion is that I need to modify my asound.conf somehow.

Any thoughts?

Thanks!
Matt


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux