|
|
|
@ -695,7 +695,7 @@ private slots: |
|
|
|
QVERIFY(errors.isEmpty()); failAudioEncoding = true; |
|
|
|
QVERIFY(errors.isEmpty()); failAudioEncoding = true; |
|
|
|
QTRY_VERIFY(!engine.running()); QTRY_COMPARE(errors.size(), 1); |
|
|
|
QTRY_VERIFY(!engine.running()); QTRY_COMPARE(errors.size(), 1); |
|
|
|
QVERIFY(!errors.front().front().toString().contains("restored")); |
|
|
|
QVERIFY(!errors.front().front().toString().contains("restored")); |
|
|
|
AudioCaptureLease microphone; QVERIFY(microphone.acquire()); microphone.release(); |
|
|
|
AudioCaptureLease microphone; QTRY_VERIFY_WITH_TIMEOUT(microphone.acquire(), 2000); microphone.release(); |
|
|
|
QTRY_VERIFY_WITH_TIMEOUT(!engine.active(), 4000); |
|
|
|
QTRY_VERIFY_WITH_TIMEOUT(!engine.active(), 4000); |
|
|
|
gui_stream_stop(202); sound->shutdown(); |
|
|
|
gui_stream_stop(202); sound->shutdown(); |
|
|
|
#else |
|
|
|
#else |
|
|
|
|