Skip to main content
GameDev.net gamedev.net
🔒 Locked

Tiny audio library

Started by VanillaSnake21 Jun 2, 2009 at 12:20 AM 7 replies 3.1k views
Original Post
VanillaSnake21
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.
You didn't come into this world. You came out of it, like a wave from the ocean. You are not a stranger here. -Alan Watts
george135
george135
Use Win32 api (MM)
"portable" has no sense, as Windows owns 98% of market (client side in enterprise)
Kylotan
Kylotan
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.
VanillaSnake21
VanillaSnake21
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...
You didn't come into this world. You came out of it, like a wave from the ocean. You are not a stranger here. -Alan Watts
bubu LV
bubu LV
OpenAL has deprecated functions?
Zakwayda
Zakwayda
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.
Zakwayda
Zakwayda
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).
VanillaSnake21
VanillaSnake21
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.
You didn't come into this world. You came out of it, like a wave from the ocean. You are not a stranger here. -Alan Watts

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.