MOC device or resources is busy

When i start playing some music in moc i can't play any other music like youtube in my browser or even sound in terminal. I don't know it is only for me but in linux live cd version everything is ok. When other music source playing music moc displaying error: device or resources is busy. I don't know what can i do now.
OS: Kali linux.
MOC version: 2.6-alpha3

Forums:

It seems you're not using ALSA's dmix or similar thing. Check what ALSA device are you using.

aplay --version: 1.1.7 by Jaroslaw Kysela
cat /proc/asound/version: Advanced Linux Sound Architecture Driver Version k4.18.0-kali3-amd64
Need i to install something newer or else?

My guess is you don't need newer version of ALSA. You just need to check MOC config file if it is using ALSA's "default" device or e.g. some "hw" device which bypass dmix. Also, your .asoundrc file might specify something that breaks dmix. It's really hard to guess without any hard data (e.g. debug output from MOC, aplay -l, aplay -L, ...).

Ok, i removed moc config file and i don't have .asoundrc file, nothing was happened. output from:

aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0
aplay -L null Discard all samples (playback) or generate zero samples (capture) jack JACK Audio Connection Kit pulse PulseAudio Sound Server default:CARD=PCH HDA Intel PCH, CX20590 Analog Default Audio Device sysdefault:CARD=PCH HDA Intel PCH, CX20590 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output hdmi:CARD=PCH,DEV=1 HDA Intel PCH, HDMI 1 HDMI Audio Output hdmi:CARD=PCH,DEV=2 HDA Intel PCH, HDMI 2 HDMI Audio Output dmix:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog Direct sample mixing device dmix:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample mixing device dmix:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample mixing device dmix:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample mixing device dsnoop:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog Direct sample snooping device dsnoop:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample snooping device dsnoop:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample snooping device dsnoop:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample snooping device hw:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog Direct hardware device without any conversions hw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct hardware device without any conversions hw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct hardware device without any conversions hw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct hardware device without any conversions plughw:CARD=PCH,DEV=0 HDA Intel PCH, CX20590 Analog Hardware device with all software conversions plughw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Hardware device with all software conversions plughw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Hardware device with all software conversions plughw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Hardware device with all software conversions usbstream:CARD=PCH HDA Intel PCH USB Stream Output

Ok now i know what is the problem. It is libasound2 package, when it is upgraded moc can't play music with others sound source and displaying "no valid sound driver" or "device or resources is busy". libasound2 version 1.1.6 working good but 1.1.7 generate this above problem (for me). Thanks Tomaszg for help and everything :)

That's surprising. I'm on alsa-lib 1.1.7 myself and everything works fine. Maybe this package ships together some different default settings.

Yeah that is strange, they maybe fix this in next update. Now i hold libasound2 package with "apt-mark hold libasound2" and waiting for update. Thanks again Tomaszg