crossplattform api for sound device

P

Philipp Kraus

Hello,

Do anyone kowns a C++ API for using cross-plattform sound interfaces? I
would like to analyse audio signals of the system sound device in OSX,
Linux and Windows.
So I need only the sampled frequence data of the input of the sound device?

Is there any cross-plattform library which works with Boost? Or should
I write my own interface OS-specific?

Thanks

Phil
 
V

Victor Bazarov

Do anyone kowns a C++ API for using cross-plattform sound interfaces? I
would like to analyse audio signals of the system sound device in OSX,
Linux and Windows.
So I need only the sampled frequence data of the input of the sound device?

Is there any cross-plattform library which works with Boost? Or should I
write my own interface OS-specific?

Have you tried asking in one of them multimedia newsgroups? And what
happened to plain ol' googling?

V
 
B

bigdavedev

OpenAL is a good solution when used in conjunction with the Ogg-Vorbis library functions for loading in your audio files.

A quick Google search for ogg vorbis and OpenAL returned this: http://devmaster.net/posts/openal-lesson-8-oggvorbis-streaming-using-the-source-queue

Seems like a good place to start.

As for working with Boost, there is no wrapper for Boost that I am aware of, but it certainly wouldn't be that hard to wrap OpenAL if you needed to.

Hope that helps.

/Dave
 
R

Rui Maciel

Victor said:
Have you tried asking in one of them multimedia newsgroups? And what
happened to plain ol' googling?

I don't see any harm in posting a C++-related question to a newsgroup
dedicated to C++, particularly when the newsgroup has been awfully quiet.


Rui Maciel
 
P

Philipp Kraus

Am 10.07.12 14:20, schrieb Philipp Kraus:

A commonly used interface to multimedia hardware is SDL:

http://www.libsdl.org/

It is widely used in open source games, stable and has excellent
cross-platform support. License is LGPL, i.e. dynamic linking is fine
for almost any purpose.

IMHO libsdl is a graphic library, not a audio library !?
 
J

Jorgen Grahn

I don't see any harm in posting a C++-related question to a newsgroup
dedicated to C++, particularly when the newsgroup has been awfully quiet.

Damn right.

It would have been nice though if the OP had written "I also tried
googling but couldn't decide/didn't find anything/want the opinions of
real users/...".

/Jorgen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top