I had a similar problem and I solved this way, in .asoundrc I put this lines:

pcm.!default {
  type plug
  slave.pcm {
    @func getenv
    vars [ ALSAPCM ]
    default "hw:PCH"
  }
}

(Ensure the default makes sense in your system)
And so I simply change the env variable ALSAPCM to decide what sound card to use

On Wed, Jun 29, 2016 at 12:30 PM, Kristoffer Gustafsson
<kg.kristof...@gmail.com> wrote:
> Hi.
> I've got two soundcards.
> my usb headset, and my integrated intel card.
> but I want to change chard sometimes.
> for example, when I've got my headset I want to use that.
> can you help me?
> /Kristoffer
>
> --
> Kristoffer Gustafsson
> Salängsgatan 7a
> tel:033-12 60 93
> mobil: 0730-500934
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to