PDA

View Full Version : QTCreator phonon accessing audio acquisition device



rahul2047
17th February 2009, 14:20
How to acquire data from microphone using phonon?
I am using QTCreator (Qt 4.4.3 OpenSource).:(

wysota
17th February 2009, 14:47
I'm afraid phonon can't do that by itself currently. If your microphone device is visible to the system as a file (like /dev/dsp) then you can open the file and use it as the source, but I'm not sure if it will work and it's definitely not portable.

rahul2047
18th February 2009, 08:18
Thanks,:)
Is there any library available for the audio acquisition, can be used from QT? has anyone worked on it?

wysota
18th February 2009, 14:02
Are you asking about a portable solution or some exact platform?

rahul2047
19th February 2009, 07:23
Yes, I want a portable solution but cross platform.
I tried 'RtAudio', 'SDL' but couldn’t break through. Taking look on 'oreka'. These all provide Open Source libraries so that can be used easily.
Actually before QT my favorite was VB.net. This QTCreator took my all attention and I m on C++ now.

Is there any tool available like these, which can be used easily as in, the functions in QT. For me SDL been easy but it was not having recordnig feature or say couldn't find it.
:|