Advertisement

Using XMMS for sound in a game

Started by September 30, 2003 07:19 PM
4 comments, last by neo88 21 years, 3 months ago
I was wondering if you could use XMMS to create sound effects in a game.
My Kung Fu is stronger.May the Source be with you.neo88
There are a number of plug-ins from XMMS to allow remote control that could be probably be used for that, but why would you want to?

Advertisement
Because I can''t think of any other way to do this on Linux. I am using OpenGL for game devolpment, and you can''t create sound effects with it.
My Kung Fu is stronger.May the Source be with you.neo88
Check out OpenAL (www.openal.org)

~Graham



----
while (your_engine >= my_engine)
{
my_engine++;
}
There are several sound libraries available for Linux. OpenAL is one. SDL comes with a sound library, as does ClanLib, You could also use arts, the sound system that comes with KDE, or esd - the sound daemon for the Enlightenment window manager. Or you could make direct calls to the kernel using ALSA or OSS.

Personally, I''d take OpenAL, SDL or ClanLib, depending on what you''re doing.
There''s FMOD, BASS, and Audiere too. FMOD & BASS are free for non-commercial projects (if you don''t make money, they don''t care) and Audiere is open-source and free (LGPL).



"The sun is the same in a relative way,
but you''re older"
--Pink Floyd

This topic is closed to new replies.

Advertisement