David Kastrup <d...@gnu.org> writes:

> Kilian Sprotte <kilian.spro...@gmail.com> writes:
>
>> This works for me:
>>
>> speaker-test -c2 -r44100 -D plughw:UA25EX
>>
>> In my case plughw:UA25EX = plughw:1,0.
>>
>> What do I have to put into .asoundrc to make this my default device?
>>
>> I tried
>>
>> pcm.!default {
>>      type hw
>>      card 1
>> }
>>
>> ctl.!default {
>>      type hw
>>      card 1
>> }
>>
>> which seems to be not quite right, because I would like to use the
>> plughw interface.
>
> Uh, is there a reason you don't use
>     type plughw
> ?  That seems sort of obvious.


Hi David,

thanks for helping me out, again.

My problem was that I would get the error:

ALSA lib pcm.c:2156:(snd_pcm_open_conf) Cannot open shared library 
/usr/lib/alsa-lib/libasound_module_pcm_plughw.so

Now I figured that I have to do:

pcm.!default {
        type plug
        slave.pcm {
                type hw
                card 1
                device 0
                subdevice 0
        }
}

Best,
 Kilian


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to