[quote name='SuperVGA' timestamp='1354731107' post='5007464']
Sorry about the thread-gravedigging.
I don't really know much about sound libraries, but came across this as I'm looking for something similar.
I stumbled upon a thread on StackOverflow pointing me to SFML.
That seems to be popular, and the license is very open: http://www.sfml-dev.org/license.php
FYI, SFML itself doesn't handle the audio. It just uses sndfile and OpenAL to read/play audio, so you still have to abide by sndfile's and OpenAL's licenses. Look at the bottom of that page you linked to and notice the external libraries used by SFML and their associated licenses, all of which you have to abide by.
[/quote]
Oh... I didn't notice that. Thanks for the heads-up. I should go with Nairou's approach, then,
although it's tempting to be able to construct sounds on the fly with portaudio...