[Qt-interest] High CPU Usage With QAudioOutput

Barnes, Clifton A. cabarnes at indesign-llc.com
Wed Apr 6 15:21:46 CEST 2011


On Wednesday, April 06, 2011 8:48 AM Jason H wrote:

> I'd go with the Qt Mobility stuff. I'm not sure how QAudioOutput works, but I 
> know Qt Mobility uses your platform's back end which should be hardware 
> accelerated on most platforms.

I looked at the Qt Mobility source:
 
http://qt.gitorious.org/qt-mobility/qt-mobility/trees/master/src/multimedia/audio

and it appears to be using all of the same QAudioOutput files as the main Qt 
source.  So, I don't believe this would behave any differently.  There are
specifically qaudiooutput_alsa_p.cpp and .h files, so I believe it should be
using the same interface as aplay and should be as efficient.

Clif




More information about the Qt-interest-old mailing list