зеркало из https://github.com/mozilla/cubeb.git
Only run test_overload.cpp when using the WASAPI backend
This commit is contained in:
Родитель
0e7f41d6ef
Коммит
88900545d4
|
@ -66,6 +66,12 @@ TEST(cubeb, overload_callback)
|
|||
std::unique_ptr<cubeb, decltype(&cubeb_destroy)>
|
||||
cleanup_cubeb_at_exit(ctx, cubeb_destroy);
|
||||
|
||||
// This test is specifically designed to test a behaviour of the WASAPI
|
||||
// backend in a specific scenario.
|
||||
if (strcmp(cubeb_get_backend_id(ctx), "wasapi") != 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
output_params.format = STREAM_FORMAT;
|
||||
output_params.rate = 48000;
|
||||
output_params.channels = 2;
|
||||
|
|
Загрузка…
Ссылка в новой задаче