diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-05-19 14:59:36 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-05-20 07:46:51 +0000 |
commit | 7083a5d93a99945bfae6010eee6ab5207ba97cf0 (patch) | |
tree | f52a0c04d714fc18830840eed0331d42f7e63ec8 /tests | |
parent | 424614afde0ca3cb7479296c093689e98a0c6f13 (diff) |
Fixes for qaudiooutput on gstreamer
Add a queue element into the pipeline to decouple
things between input and output. Add ability to
suspend/resume the QGstAppSrc.
This finally makes the autotest pass consistently.
Change-Id: Ib20d1f9e6932aa9459085ad46fe78fdd03749723
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp b/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp index 2cd59f472..8b20649b9 100644 --- a/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp +++ b/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp @@ -626,7 +626,6 @@ void tst_QAudioOutput::pushSuspendResume() qint64 written = 0; bool firstBuffer = true; - QByteArray buffer(AUDIO_BUFFER, 0); // Play half of the clip while (written < (audioFile->size() - QWaveDecoder::headerLength()) / 2) { |