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:
Paul Adenot 2013-12-13 18:11:06 +01:00
parent 4b6fff60a1
commit 6ec0a9470f

View File

@ -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.");
}
}