View Full Version : QAudioOutput + not UI thread

27th December 2010, 10:49
Hi Everybody

If I try to call

QAudioOutput::strat(QIODevice) from some QThread I do not hear the sound( to be precice QIODevice::readData never called ).

But QAudioOutput::strat(void) works fine.

Is it a bug? I do not see any reference in QT docs that QAudioOutput::strat(QIODevice) works only from UI thread.

Thank you!

27th December 2010, 20:11
Minimum code example is here

http://www.qtcentre.org/threads/36228-QAudioOutput-in-a-QThread-problem. ( same problem in this forum)