QAudioOutput latency problem

  • hi

    At first I can't use QAudioOutput with ALSA support in Qt 5.1.1 . It returns this error at runtime: "Unable to create a connection to the pulseaudio context". It seems that this version doesn't support ALSA.

    So I had to use Qt 4.7.4 . Everything works great with that, just there's a problem. Latency is more than 1 second. The buffersize of audiooutput is 1364. It doesn't change with setBufferSize. Also I checked the len parameter in QIODevice::readData function, It requests 16384 which causes a high latency.
    Please let me know if I didn't notice any important thing.

    Thanks in advanced.

  • Any idea?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.