mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 950026 - Bail out when we don't get an expected return value from AudioClient::IsFormatSupported, instead of asserting. r=kinetik
This will fall back to our own channel mapping code, instead of trying to use the platform's.
This commit is contained in:
parent
4b6fff60a1
commit
6ec0a9470f
@ -692,8 +692,6 @@ handle_channel_layout(cubeb_stream * stm, WAVEFORMATEX ** mix_format, const cub
|
||||
assert(false && "Format not supported, and no suggestion from WASAPI.");
|
||||
} else if (hr == S_OK) {
|
||||
LOG("Requested format accepted by WASAPI.");
|
||||
} else {
|
||||
assert(false && "Not reached.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user