-   Slackware (
-   -   configure preferred sound device for all applications (

nivieru 03-18-2014 02:07 PM

configure preferred sound device for all applications
Hi all,
I'm having a bit of trouble telling programs to use my external usb sound card.
The card is working correctly, I can select it as default in the phonon settings and get kde and amarok (and probably other kde applications) to use it.
However, everything else (clementine, firefox, vlc) insist on using the internal card.

how can I get clementine, vlc etc to use the external sound card like kde does?


ml4711 03-18-2014 02:18 PM

This works for me.

Create .asoundrc in your home dir with this contents:


pcm.!default {
    type hw
    card Audio

ctl.!default {
    type hw
    card Audio

use aplay -l to show the real name of the card

aplay -l
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

nivieru 03-18-2014 02:53 PM

Thanks, that worked!

just to be more verbal for anyone else who might need it,
in the solution above replace "Audio" with the name that aplay -l gives you

card #: Name_of_card ...

Snerk 04-01-2014 07:09 PM

So in the example given, would you put


card Audio

card Audio [USB Audio]

ml4711 04-02-2014 03:12 AM


card Audio

All times are GMT -5. The time now is 05:13 AM.