WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Multiple sound cards  (Read 1958 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Multiple sound cards
« on: February 02, 2010, 03:55:22 AM »
It is not really a TC specific question. Anyhow, is it possible to use multiple sound cards with ALSA or OSS or at least to specifiy which one is used while other(s) disabled?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Multiple sound cards
« Reply #1 on: February 02, 2010, 04:24:37 AM »
There are a couple of ways to do it with ALSA.  Normally alsaconf will let you set up one of them to use in preference to the other.  Also, blacklisting the module of one of them allows the /usr/local/etc/init.d/alsasound script to work for the non-blacklisted one.  It has been a long time since I used two sound cards, but I do remember using the blacklist method.

I don't normally use OSS but i am sure it has a means too.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Multiple sound cards
« Reply #2 on: February 02, 2010, 05:04:29 AM »
With ALSA I think you could add a module option in /etc/modprobe.conf, something like index=1 to decide which was the primary card.

OSS: http://www.opensound.com/wiki/index.php/Tips_And_Tricks#Changing_the_default_sound_output
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Multiple sound cards
« Reply #3 on: February 02, 2010, 05:18:17 AM »
Thanks, will try it.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: Multiple sound cards
« Reply #4 on: February 02, 2010, 06:21:54 AM »
yup, this is what i do usually, because my tv tuner card sometimes registers as the first card in the system.

you should pass index= to sound modules for both cards. i don't remember whether it starts from 0 or from 1 - i usually pass index=5 to tuner and index=1 to my sound card.