This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Using Multiple Sound cards at once

Tags: None
(comma "," separated)
aay
Registered Member
Posts
5
Karma
0

Using Multiple Sound cards at once

Thu Jan 11, 2007 5:41 pm
I found the following guide on the amarok wiki on how to play audio through several cards at once.

http://amarok.kde.org/wiki/FAQ#How_can_ ... tput_to.3F

Even though I basically cut and pasted the .asoundrc, I checked and made sure that the proper device numbers were being referenced for my sound cards, I still get the following error.

          Audio Output Unavailable; the device is busy.
          xine parameters

I'm going to paste in the relevant info below on my setup.  I'd be much obliged if anyone can discern the problem.

____________________________
/proc/asound/cards ouput

0 [I82801BAICH2  ]: ICH - Intel 82801BA-ICH2
                      Intel 82801BA-ICH2 with AD1881A at 0x1400, irq 11
1 [UART          ]: MPU-401 UART - MPU-401 UART
                      MPU-401 UART at 0x330, irq 10
2 [NX            ]: USB-Audio - SB Audigy 2 NX
                      Creative Technology Ltd SB Audigy 2 NX at usb-0000:00:1f.2-2.4.4.4.1, full spee

____________________________
Here's the output of "aplay -l"

card 0: I82801BAICH2 [Intel 82801BA-ICH2], device 0: Intel ICH [Intel 82801BA-ICH2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NX [SB Audigy 2 NX], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


____________________________
.asoundrc

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
#

pcm.intel8x0 {
          type plug
          slave.pcm "hw:0"
      }
     
      ctl.intel8x0 {
          type hw
          card 0
      }
     
      pcm.usb-audio {
          type plug
          slave.pcm "hw:2"
      }
     
      ctl.usb-audio {
          type hw
          card 2
      }

  # This creates a 2-channel interleaved pcm stream based on
  # two 2-channel slave devices.
 
  pcm.both {
      type route;
      slave.pcm {
          # create a virtual 4-channel device from two sound devices
          type multi;
          slaves.a.pcm "plughw:intel";
          slaves.a.channels 2;
          slaves.b.pcm "plughw:creative";
          slaves.b.channels 2;
          bindings.0.slave a;
          bindings.0.channel 0;
          bindings.1.slave a;
          bindings.1.channel 1;
          bindings.2.slave b;
          bindings.2.channel 0;
          bindings.3.slave b;
          bindings.3.channel 1;
      }
 
      # Map two channels of input to four channels of output
      ttable.0.0 1;
      ttable.1.1 1;
      ttable.0.2 1;
      ttable.1.3 1;
  }
 
  # Some programs will be unhappy if there is no mixer to talk to,
  # so we set this to one of the cards.
  # This could be any card (Headset or Live in this example).
 
  ctl.both {
      type hw;
      card creative;
  }


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]