Page 1 of 1

open /dev/[sound/]dsp: Device or resource busy

Posted: 06 Jul 2010 21:09
by laserman
Das Problem gibt's in allen HELI-X Versionen:

Heli-X startet nicht, wenn eine Anwendung läuft, die auch die Soundkarte nutzt.

HELI-X sollte pulseaudio nutzen oder eine Option -nosound anbieten und dann nicht versuchen,
/dev/dsp zu öffnen.

Re: open /dev/[sound/]dsp: Device or resource busy

Posted: 06 Jul 2010 21:12
by Michael
Schau mal nach, da gibt es ein zweites Shell-Skript zum starten, dass die Sound ressourcen geteilt werden können....

Michael

Re: open /dev/[sound/]dsp: Device or resource busy

Posted: 09 Jul 2010 09:58
by helinoob
Sorry, my German is non-existent...

I use a Gentoo system with no pulseaudio. The solution that works for me is to remove (rename) libopenal.so that comes with HELI-X and rely on the native libopenal.so and ALSA's built-in mixer.

This is my ~/.openalrc file:

Code: Select all

(define devices '(alsa))
(define alsa-out-device default)
(define alsa-in-device default)
You probably should not touch your ~/.asoundrc file, but here's mine, just in case:

Code: Select all

pcm.!default {
         type asym
         playback.pcm {
                 type plug
                 slave.pcm "dmix:0,0"
         }
         capture.pcm {
                 type plug
                 slave.pcm "hw:1,0"
         }
}
"hw:1,0" is my USB microphone. If you have a single sound card you probably should use "hw:0,0". The "dmix:0,0" is the ALSA's software mixer that makes sound card sharing work.

Re: open /dev/[sound/]dsp: Device or resource busy

Posted: 09 Jul 2010 14:12
by Michael
Thanks.

Michael