2 Soundcards -> define primary soundcard

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
biernot

2 Soundcards -> define primary soundcard

Post by biernot »

Hi,

I'm using the intel onboard soundcard of my notebook and a creative soundblaster 24 bit usb. I can use the two for music by choosing the device within the ALSA configuration. Firefox sound and sound from software run with wine only works on the onboard card. This is just ok since aplay -l shows me that the onboard card has index 0 and the usb card index 1.

Where can I fix which card should have which index? I'd like to use only the usb card when it is connected, if not linux should choose the onboard sound automatically. I guess swapping the index will do it, right?

Thanks and bye,
Felix
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: 2 Soundcards -> define primary soundcard

Post by Husse »

This is found in alsa-base.conf
You add a line like
options your_card index=0
for the one you want first, and
options your_second_card index=1
for the second one
Locked

Return to “Sound”