Re: [Alsa-user] Sound card selection problem
Brought to you by:
perex
From: August K. <fus...@gm...> - 2012-07-27 19:17:07
|
On 2012-07-27 20:40, Anders Genell wrote: > Hej August! > > If I'm not mistaken choosing the sound card in alsamixer doesn't set it > as default card but only allows you to set various levels of the card > for the applications that already do use it. That was my impression too. However, I got the instruction to do so in another forum (something which didn't work). > In order for it to be chosen you either need to set the software to > choose that particular card, like you did in the second example for > aplay, or you need to replace the card as the default device in > /etc/asound.conf (system wide) or ~/.asoundrc (current user only). If > the don't exist just go ahead and create them as needed. OK, so there is no way to switch to a different sound card on the fly with ALSA? > The code for > setting N2 as default looks something like > > > pcm.!default { > type hw > card "N2" > } > > ctl.!default { > type hw > card "N2" > } I added the file ~/.asoundrc with the content above and logged out/logged in but the internal sound card is still used. Is there a log which ALSA writes to? Thanks/tack August |