You are not logged in.

#1 2013-12-08 15:57:41

2mac
Member
Registered: 2013-11-09
Posts: 95

[CLOSED] ALSA - Use same audio device for multiple programs

I recall being able to listen to music, play games, have LMMS open, and run YouTube all at the same time on Windows. ALSA seems determined that this isn't possible, and it limits my sound devices to one operation at a time. God forbid that I try to listen to an LMMS export while LMMS is still open.

I've Googled around for a couple of days, and I've found a few things that do help, but don't solve this issue.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PX22 [Turtle Beach PX22], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I'm using card 2 device 0 in this case (these don't appear to stay static, but I can keep that device default by setting it using a string in my ~/.asoundrc file. I don't understand why I get the "device or resource is busy" message fully. I understand that the device is doing something, but why can't this audio output have stacking layers (figuratively)?

I'm trying to avoid PulseAudio if I can. I've had a bad experience with it, and I'm looking to solve this in ALSA alone, but if I have no other choice, I might break down and try it again.

Last edited by 2mac (2013-12-08 18:11:48)

Offline

#2 2013-12-08 17:36:30

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [CLOSED] ALSA - Use same audio device for multiple programs

See config in my sig.

Offline

Board footer

Powered by FluxBB