ESD revisited + a question about alsa

Hello,
i have a question,does esd can be running when X isn’t ?? that’s
because i think if it can run without X,there would not be a DISPLAY
variable and thus SDL could keep the audio in the local system even if
the game is remote so in this case,i think it’s fine to rely on
ESPEAKER.

i also would like to know if there’s support (or plan to support) the
alsa sound system ??

Alain

i also would like to know if there’s support (or plan to support) the
alsa sound system ??

If there is ever a need it would be easy to support ALSA.
SDL works fine with ALSA drivers in OSS compatibility mode.

If you want to contribute an ALSA driver, look at;
src/audio/SDL_audio.c
and
src/audio/linux/*

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

If there is ever a need it would be easy to support ALSA.
SDL works fine with ALSA drivers in OSS compatibility mode.

If you want to contribute an ALSA driver, look at;
src/audio/SDL_audio.c
and
src/audio/linux/*

I have already started working on it, but so far I only integrated it into the other
code - wrote autoconf macros, integrated alsa into the audio bootstrap and so on. Now
there are the 5 driver methods (OpenAudio, WaitAudio, PlayAudio, GetAudioBuf and
CloseAudio) waiting for some useful code, but I probably wont get it finished before
the weekend. If anyone else wants to take over, I will gladly send him the existing
stuff.

bye…