From b357c55f2dfe44e5c2a2524b93478aecf668ca0a Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Fri, 8 Mar 2013 15:18:36 +0100 Subject: CoreAudio: Create an audio plugin supporting iOS and OS X This removes the Mac audio backend that was hardcoded into QtMultimedia and adds a new audio plugin using the CoreAudio API. Change-Id: Ib15291825f9452a3763e0eeb281d952deb0bad3d Reviewed-by: Richard Moe Gustavsen Reviewed-by: Christian Stromme Reviewed-by: Yoann Lopes --- tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/auto/integration') diff --git a/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp b/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp index 3d2be8260..477727497 100755 --- a/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp +++ b/tests/auto/integration/qaudiooutput/tst_qaudiooutput.cpp @@ -829,8 +829,9 @@ void tst_QAudioOutput::pushSuspendResume() audioOutput.resume(); - // Give backends running in separate threads a chance to resume. - QTest::qWait(100); + // Give backends running in separate threads a chance to resume + // but not too much or the rest of the file may be processed + QTest::qWait(20); // Check that QAudioOutput immediately transitions to ActiveState QVERIFY2((stateSignal.count() == 1), -- cgit v1.2.3