Results 1 to 10 of 27

Thread: Win/Linux/Mac OSX Sound API with no .DLL/.SO dependencies?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    For crossplatforming I certaintly would recommend OpenAL, available for every platform (as it lets you reuse the same code and it just works), combined with libogg/libmad makes it very easy to play ogg or mp3 everywhere.
    I had zero problems with it in all platforms I've tested (basically all of them)
    There is just a situation that I found that required a different solution. Decoding of mp3/ogg in iOS (and possibly Android) is quite slow if done in software, and there I just use the native audio library that uses the hardware decoder (ogg not supported though).

  2. #2
    Quote Originally Posted by Relfos View Post
    I had zero problems with it in all platforms I've tested (basically all of them)
    Were you playing in more than two channels simultaneously? With different volume in each channel?

  3. #3
    Do you have any source code for the MP3 or OGG playing for OpenAL? I have been unable to play any musics with OpenAL on Lazarus be it just Win32.

    But i'm pretty happy about BASS at the moment. It should work on many platforms, but best of all, it's easy to use and supports wide variety of formats. I do like the MOD/XM formats aswell and they are played as easily as WAV with BASS, on many channels, and with 3D pos if needed.

    And best of all, it's free for non commercial projects like most games i make should be.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •