Sign in to follow this  
VanillaSnake21

Tiny audio library

Recommended Posts

Unless you're programming for:
- Sony consoles and handhelds;
- Nintendo consoles and handhelds;
- Apple computers;
- Mobile phones;
- iPhone;
- PDAs and other smart-phones;
- etc.

Many of these outnumber Windows PCs that are used for gaming. The 'market' is entirely dependent on what you're making and who you want to sell to.

Share this post


Link to post
Share on other sites
Thanks guys, actually I just tried OpenAL, it's not really a library but I was able to build basic load, play, stop functions, and it has multiple voices. Too bad there's very little new tutorials on this, I was forced to use some depricated functions...

Share this post


Link to post
Share on other sites
Quote:
Original post by VanillaSnake21
I need a very small preferably portable audio library, basic requirements:

1) Ability to play more then 1 sound at once
2) Be very small and portable

Thanks.
SDL + SDL_mixer, perhaps?
Quote:
Original post by george135
Use Win32 api (MM)
"portable" has no sense, as Windows owns 98% of market (client side in enterprise)
This isn't a particularly helpful suggestion, IMO. There are many platforms other than Windows that have large user bases (iPhone, for example), and many reasons why one might want to develop applications for one or more of these platforms.

Share this post


Link to post
Share on other sites
Quote:
Original post by bubu LV
OpenAL has deprecated functions?
He might be referring to functions from the OpenAL Utility Toolkit (most of the OpenAL tutorials I've seen use these functions for loading of audio files).

Share this post


Link to post
Share on other sites
Quote:
Original post by jyk
Quote:
Original post by bubu LV
OpenAL has deprecated functions?
He might be referring to functions from the OpenAL Utility Toolkit (most of the OpenAL tutorials I've seen use these functions for loading of audio files).


Yeah the alutLoadWAVFile() and others are depricated, I believe they replaced it with CWaves class or something.

P.S I actually downloaded SDL, but for some reasons these libraries don't offer any docs whatsoever on how to use them. Also heard that Bass was really good, but unfortunately those guys want you to decipher their cryptic samples instead of writing a decent tutorial. (And you can imagine what google retrieves when you search for "Bass tutorials" - could have at least made a less ambiguous name...)

Basically OAL is perfect, very light code and gives me just what I need.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this