You are not logged in.

#1 2017-03-06 12:16:02

edres
Member
Registered: 2017-02-06
Posts: 7

[SOLVED] multiple sound outputs - audioplayer / browser

Hello!

I can't play sound at the same time in my audioplayers and in my browsers (firefox and chromium)

audacious gives me the following error message:

ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ERROR util.cc:295 [audgui_simple_message]: ALSA error: snd_pcm_open failed: Device or resource busy.

Using adacious and ncmpcpp via mpd at the same time works though. Playing sounds in firefox and chromium at the same time works as well.

Any ideas?
Cheers



pacman -Q alsa-utils alsa-lib  pulseaudio-alsa
alsa-utils 1.1.3-2
alsa-lib 1.1.3-1
pulseaudio-alsa 2-3
LC_ALL=C aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Last edited by edres (2017-03-06 14:37:59)

Offline

#2 2017-03-06 13:09:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: [SOLVED] multiple sound outputs - audioplayer / browser

Do you have any ALSA configurations other than /etc/asound.conf like ~/.asound.conf or ~/.asoundrc(/etc/asound.conf should be present, but maybe you adjusted its config)? Post them all if so. Also post the output of

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs

while this situation occurs.

Last edited by V1del (2017-03-06 13:11:52)

Offline

#3 2017-03-06 14:37:28

edres
Member
Registered: 2017-02-06
Posts: 7

Re: [SOLVED] multiple sound outputs - audioplayer / browser

Thank you for help V1del, brought me on the right track.
Seems I had made the /etc/asound.conf file before I installed pulseaudio-alsa which then created an asound.conf.pacnew file. Deleted the old file and renamed the new, now it's working.
Beginner problems while tinkering ^^
Thanks again

Offline

Board footer

Powered by FluxBB