You are not logged in.
Just installed arch on a fresh system and installed ALSA related packages. Audio works in firefox but if I change the tab which is generating audio or even change the you tube video then it stops. After I restart the firefox it works again. While audio is playing by one source and I start speaker test, then the error says: Playback open error: -16,Device or resource busy.
Here is my ~/.asoundrc
pcm.!default {
type plug
slave {
pcm "hw:1,0"
}
}
I don't know .asoundrc or other alsa config options. Can anyone help me with this.
Offline
Also I restarted the machine and there is no difference, there is sound from Chrome but only once source at a time.
Offline
Try enabling dmix: https://wiki.archlinux.org/index.php/Alsa#Dmix
That will explicitly tell ALSA to mix channels instead of give exclusive access to one program at a time.
If that fails, and you don't mind it, you can also install a full sound server like pulseaudio. If you do that then make sure to also install pulseaudio-alsa for legacy compatibility.
https://wiki.archlinux.org/index.php/Pulseaudio
Edit: dmix is supposed to be a default but try explicitly setting it.
Last edited by headkase (2014-12-06 06:40:31)
Offline
Thank for your input but no luck, I tried setting Dmix as well as pulse.
Also I noticed my sound card number changes after reboot, it was 0 earlier now its 2
here is my aplay -L : http://pastebin.com/8L53uv2z
here is my lsmod | grep snd : http://pastebin.com/rw65AYw0
here is ls -l /dev/snd : http://pastebin.com/TfQrr4j2
Offline
Ok I managed to get sound from everywhere and solved the card switching problem by adding the card name instead of card number in the .asoundrc, yet there are two problems
1 - no dmix working, only first sound source goes through
2 - no audio from google hangouts, its audio setting cant detect a speaker / card + device to play audio through
Last edited by dig23 (2014-12-09 23:24:01)
Offline