Qbasicnews.com

Full Version: OpenGL or DirectX?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Would you people know of any sound libraries for c/c++ that have spatial sound support? (that's 3d sound)
bass. Smile un4seen.com
Direct x sound supports 3d sound i belive as well, ive never tried the lib, im just assuming it does, as a lot of sound libs also use dx sound.

And fmod is cross platform as well as bass, both are pretty much the same.
Does fmod have support for mp3 and ogg files? I don't think it supports cd music and 3d sound either...
Yes. Also to combat bass's mp3 mod files, fmod supports ogg mod files.
The reason OpenGL is running slow on your machine may be because your machine's hardware isn't fully OGL compliant and OGL has to do what it can't do in hardware in software.
i probably miss it.. but

what lib can play MP3 files
??????????
if you are developing for a windows platform, i would recommed DirectX. But if you want great cross compatibility then go for OpenGL :lol:. Personally I would recommend DirectX because most games are run on the Windows platform :wink:
I prefer DirectX
Directx directly supports the MP3 format

Here:
http://andypike.com/tutorials/DirectX8/013.asp

OpenAL does not because of liscensing issues, I believe, but they have replaced it with support for .ogg files, which, if you're not trying to find rare music files, are fine as far as compression goes.

On playing MP3s with OpenAL:
http://www.devmaster.net/articles/openal...esson8.php

on playing OGG files:
http://www.gamedev.net/reference/article...le2031.asp

I just googled for this, so pardon if I got something wrong.
PS: In case you missed it, OpenAL is the audio complement to OpenGL, as far as serving a purpose goes.
Pages: 1 2 3