wasapi: Fix infinite loop when the device disappears
When the audio device goes away during playback or capture, we were going into an infinite loop of AUDCLNT_E_DEVICE_INVALIDATED. Return -1 and post an error message so the ringbuffer thread exits with an error.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Preparation | |||||||||
passed |
#80849
|
gst indent |
00:00:52
|
|
|||||
passed |
#80848
|
manifest |
00:00:45
|
|
|||||
Build | |||||||||
passed |
#80850
|
build fedora x86_64 |
00:03:28
|
|
|||||
Test | |||||||||
passed |
#80851
|
check fedora |
00:03:38
|
|
|||||
Full Builds | |||||||||
passed |
#80852
|
build android arm64 api28 |
00:03:28
|
|
|||||
passed |
#80854
|
build cerbero cross win32 |
00:07:04
|
|
|||||
passed |
#80855
|
build cerbero cross win64 |
00:10:52
|
|
|||||
passed |
#80853
|
build cerbero fedora x86_64 |
00:11:31
|
|
|||||