Jump to content



Best cross-platform sound API free for commercial and non-commercial usage

  • You cannot reply to this topic
3 replies to this topic

#1 beecher   Members   -  Reputation: 100

Like
0Likes
Like

Posted 16 February 2012 - 11:15 PM

I'm planning on making games for money
And I'm trying to figure out the best sound API that's free for commercial and non-commercial usage

Ad:

#2 Cornstalks   Members   -  Reputation: 1216

Like
0Likes
Like

Posted 16 February 2012 - 11:29 PM

FMOD is free for non-commercial usage, and it's awesome. OpenAL has an LGPL license (so you can use it for free) if you use version before 1.1. irrKlang is free for non-commercial use.

Those are all the sound libraries I know, and OpenAL is the only free (for commercial) one I know of (so long as you use the older version).
[ Realistic Rendering ] [ School + Dublin = Boom ] [ I've been ninja'd 70 times ] [ f.k.a. MikeTacular ] [ My Blog ]

#3 swiftcoder   Senior Moderators   -  Reputation: 1617

Like
0Likes
Like

Posted 17 February 2012 - 12:23 AM

SFML has a very nice cross-platform sound API, and it's in theory fine for commercial use. However, I will warn that some people are dubious about the licenses of the audio dependencies - YMMV.

There's also always the option of rolling your high-level functionality, over a low-level abstraction like PortAudio.
Tristam MacDonald - swiftcoding [new blog post: bidding a freelance contract]

#4 mdwh   Members   -  Reputation: 212

Like
0Likes
Like

Posted 17 February 2012 - 09:26 AM

There's also SDL_mixer if you're using SDL.

Wow, I hadn't realised that OpenAL had turned proprietary - this is also a problem with open source development (since even if you personally aren't trying to make money, commercial use is a requirement for anything to pass as open source), and for similar reasons, OpenAL was one of the popular libraries for doing sound on Linux. I wonder what is typically recommended for Linux programming these days?

Wikipedia mentions OpenAL Soft as an open source alternative, but I don't have any experience of that myself.






We are working on generating results for this topic
PARTNERS