Re: changing soundcards

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

 



Hi,

You can change the default card for the current shell by setting the value of the ALSA_CARD environment variable.
Example:

export ALSA_CARD=1 # will use the second soundcard on your system for all alsa programs launched in the same shell.

You can also do it on a per-program bases:

ALSA_CARD=2 espeak "some text" # will make espeak use the third soundcard on your system

To have it set system wide, create the file /etc/asound.conf, containing the following line:

defaults.pcm.card=1

This will make all programs on the system use the second soundcard.


Note that all of the above asume that pulseaudio is not running. If you use pulseaudio, you will have to change the soundcard in the pulseaudio settings application.

Regards,

Rynhardt

On Tue, Aug 11, 2015 at 10:30 AM, Kristoffer Gustafsson <kg.kristoffer@xxxxxxxxx> wrote:
Hi.
I don't really want to modify config files.
I just want to change soundcard.
For example if I've got two in the computer I want to choose wich card to use.
I'll look into this. Last time I had my machine running I got no amixer at all.
I ended up using aumix.
/Kristoffer

2015-08-10 21:09 GMT+02:00, Kristoffer Gustafsson <kg.kristoffer@xxxxxxxxx>:
> Hi.
> I've decided to try out my usb soundcard in debian.
> But how do I change what card it uses?
> I used alsaconf Before, but that doesn't exist any longer.
> /Kristoffer
>
> --
> Kristoffer Gustafsson
> Salängsgatan 7a
> tel:033-12 60 93
> mobil: 0730-500934
>


--
Kristoffer Gustafsson
Salängsgatan 7a
tel:033-12 60 93
mobil: 0730-500934

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]