views:

301

answers:

2

I would like to capture some sound from the microphone in cpp, in order to use it in a Qt application.

So I'm looking for a multi platform library easily integrable in a Qt4 project.

+2  A: 

OpenAL is a good, cross-platform C++ library for capturing audio.

Håvard S
Thanks for your quick answer. I'll look this project :)
dzen
+1  A: 

Qt 4.6 introduces a new, low level suite of audio APIs in the QtMultimedia module. You can use QAudioInput to capture raw audio from a microphone.

At present, this API is implemented for Windows, Mac, and Linux (supporting PULSE and ALSA audio subsystems). Support for other platforms, including Symbian in the mobile space, is currently under development.

Gareth Stockwell