Archived

This topic is now archived and is closed to further replies.

SDL[_mixer] and Linux :(

This topic is 5402 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I recently started to add some music and sounds to my game, and I thought that a good way would be to use SDL_mixer. Well, while it works perfectly on Windows, on the same machine, under Linux, it complais that it can''t find an audio board... I also tried the SDL basic sound thing, same result. And I tried with both my game, and the SDL sound test samples, that came with SDL, adn should ahve worked... I am running RH 8.1, and I DO have sound, since I can listen to MP3s and such just fine... Anyone knows why this happens? Thanks in advance. Height Map Editor | Eternal Lands | Fast User Directory

Share this post


Link to post
Share on other sites
Allows multiple programs to use the sound device at once.

Basically, with some hardware, only one app can use /dev/dsp at once. esd/artsd/etc/etc/etc solve this by BEING that single app. Others simply play through them. Apparently SDL is not yet been made aware of different sound servers...

Share this post


Link to post
Share on other sites
SDL is aware of ESD. But when you use ESD with SDL there's an aweful delay between when a sound is played and when it comes out the speakers, so don't use it (ESD with SDL i mean). I'm not sure about KDE's server though (what's it called, artds? Or is that something else?)

EDIT: Clarified some stuff.

[edited by - BradDaBug on March 5, 2003 3:07:07 PM]

Share this post


Link to post
Share on other sites