PDA

View Full Version : openal and pulseaudio


kamax
07-19-2009, 08:15 PM
I use openal 1.8 witch should have support for pusleaudio but when i launch the game there is a problem:

AL lib: pulseaudio.c:146: game ready!
AL lib: pulseaudio.c:355: Stream did not connect: Invalid argument
AL lib: pulseaudio.c:155: game terminated!
AL lib: pulseaudio.c:129: game: Playback Stream terminated!
The game still start with sound but my sound card is busy for anything else. Like if i play a song before the game and only after i launch the game i get this:

AL lib: pulseaudio.c:146: game ready!
AL lib: pulseaudio.c:355: Stream did not connect: Invalid argument
AL lib: pulseaudio.c:155: game terminated!
AL lib: pulseaudio.c:129: game: Playback Stream terminated!
AL lib: alsa.c:388: Could not open playback device 'default': Device or resource busy
AL lib: oss.c:179: Could not open /dev/dsp: Device or resource busy
AL lib: portaudio.c:127: Pa_OpenStream() returned an error: Invalid device
In this case the song already play but no sound in regnum...

I have tryed with "drivers = pulse" "drivers = alsa" in the ~/.alsoftrc file.

Any idea someone what can i do ?

Edit: Ok it works now, i don't know the real reason but what i have done:
-intall new verion of pulseaudio (0.9.15-r2)
-disable portaudio as useflag for every ebuilds (i use gentoo)

One of this 2 things(or maybe both) make pulseaudio works with the game.

Oh and ~/.alsoftrc is empty and it works :bangin: