
Hi all, My name is Philip Bennefall, and I am very new to Boost. I have only been learning the basics of it over the last few weeks but am highly impressed with its performance thus far. so a big thanks to the Boost developers for their excellent efforts! I was wondering whether the discussion of a portable audio I/O library as part of Boost has ever come up? I would very much like to see a library that handles streaming audio, input and output, in a cross platform way. Any thoughts on this? Kind regards, Philip Bennefall P.S. I do hope that this is the right list to post this question on. Apologies if it should have been directed to Boost users instead.

Hi all,
My name is Philip Bennefall, and I am very new to Boost. I have only been learning the basics of it over the last few weeks but am highly impressed with its performance thus far. so a big thanks to the Boost developers for their excellent efforts!
I was wondering whether the discussion of a portable audio I/O library as part of Boost has ever come up? I would very much like to see a library that handles streaming audio, input and output, in a cross platform way.
Googling 'cross platform c audio library' reveals a couple of such
On 16 June 2011 13:19, Philip Bennefall <philip@blastbay.com> wrote: packages, where OpenAL and PortAudio scores high. Does none of the existing libraries suit your needs? - Christian

Hi all,
My name is Philip Bennefall, and I am very new to Boost. I have only been learning the basics of it over the last few weeks but am highly impressed with its performance thus far. so a big thanks to the Boost developers for their excellent efforts!
I was wondering whether the discussion of a portable audio I/O library as part of Boost has ever come up? I would very much like to see a library that handles streaming audio, input and output, in a cross platform way.
Googling 'cross platform c audio library' reveals a couple of such
Hi Christian, They do in terms of functionality, but the license for PortAudio for example, is BSD style and is rather unsuitable for my application. I am writing middleware, and using BSD or LGPL code would mean that my end users would have to include a lot of license text in their distributions just because my middleware uses certain components. The Boost license does not require this. There are plenty of other implementations of many things found in Boost (graph algorithms, string processing, regular expressions, date/time etc etc), but the Boost versions are still very much called for. Kind regards, Philip Bennefall ----- Original Message ----- From: "Christian Holmquist" <c.holmquist@gmail.com> To: <boost@lists.boost.org> Sent: Thursday, June 16, 2011 9:58 PM Subject: Re: [boost] Library suggestion - audio IO On 16 June 2011 13:19, Philip Bennefall <philip@blastbay.com> wrote: packages, where OpenAL and PortAudio scores high. Does none of the existing libraries suit your needs? - Christian _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On 16 June 2011 15:05, Philip Bennefall <philip@blastbay.com> wrote:
Hi Christian,
They do in terms of functionality, but the license for PortAudio for example, is BSD style and is rather unsuitable for my application. I am writing middleware, and using BSD or LGPL code would mean that my end users would have to include a lot of license text in their distributions just because my middleware uses certain components. The Boost license does not require this. There are plenty of other implementations of many things found in Boost (graph algorithms, string processing, regular expressions, date/time etc etc), but the Boost versions are still very much called for.
From portAudio: "In terms of legal compatibility, the PortAudio licence is now a plain MIT licence" Adding a copyright notice seems a cheap price compared to re-inventing a beast of this kind.
- Christian

Hi Christian, The MIT and BSD licenses are pretty much the same, and I much prefer the Boost license over both of these. My thought was merely to throw out the suggestion, to see if anyone found it interesting. To Domagoj Saric: I would not be able to write one on my own as I am only on Windows at present, but I would certainly like to contribute if someone were to pick up such a project. Kind regards, Philip Bennefall ----- Original Message ----- From: "Christian Holmquist" <c.holmquist@gmail.com> To: <boost@lists.boost.org> Sent: Thursday, June 16, 2011 10:48 PM Subject: Re: [boost] Library suggestion - audio IO On 16 June 2011 15:05, Philip Bennefall <philip@blastbay.com> wrote:
Hi Christian,
They do in terms of functionality, but the license for PortAudio for example, is BSD style and is rather unsuitable for my application. I am writing middleware, and using BSD or LGPL code would mean that my end users would have to include a lot of license text in their distributions just because my middleware uses certain components. The Boost license does not require this. There are plenty of other implementations of many things found in Boost (graph algorithms, string processing, regular expressions, date/time etc etc), but the Boost versions are still very much called for.
From portAudio: "In terms of legal compatibility, the PortAudio licence is now a plain MIT licence" Adding a copyright notice seems a cheap price compared to re-inventing a beast of this kind.
- Christian _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

"Christian Holmquist" <c.holmquist@gmail.com> wrote in message news:BANLkTim6t7p-MTQM2Y8VBpJ_VWncruXR8Q@mail.gmail.com...
Googling 'cross platform c audio library' reveals a couple of such packages, where OpenAL and PortAudio scores high. Does none of the existing libraries suit your needs?
As you said, those are C, not C++, libraries...And they do not do audio file IO... -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman

"Philip Bennefall" <philip@blastbay.com> wrote in message news:8DEE6B7FB9D54E1CA031D6E78BF03171@chicken...
I was wondering whether the discussion of a portable audio I/O library as part of Boost has ever come up? I would very much like to see a library that handles streaming audio, input and output, in a cross platform way.
Any thoughts on this?
It is not quite clear what you meant...you would like to see it as in you would like to propose one or as in you would like someone else to write one? ;) -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman

from my own experience i must say that i had a better experience with accessing the host API directly than using wrappers (like portaudio). most APIs have slightly different programming model (push or pull model), different configuration options (e.g. device selection, buffer size and buffer count), different notification callbacks, different modes (e.g. jack has a `freewheel' mode for non real-time rendering). there is also a difference between `consumer' and `pro-audio', where `pro-audio' backends provide low latencies (on the order of 1 millisecond), while `consumer' backends may provide features like on-the-fly resampling ... if you come up with a library that beats all existing libraries, i will be very happy, but i think it won't be easy ... tim
participants (4)
-
Christian Holmquist
-
Domagoj Saric
-
Philip Bennefall
-
Tim Blechmann