diff options
author | Paul Adenot <[email protected]> | 2021-07-06 14:49:44 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2021-07-13 13:51:30 +0200 |
commit | 1749dc217b29cba13002a9b7e0cc4f299ee644b6 (patch) | |
tree | 4056b304b8f45b11920ccb728c6fb9e3055d05f4 | |
parent | de7cf5cccea76e0c9c5393770acc481d6a51ca41 (diff) | |
download | cubeb-1749dc217b29cba13002a9b7e0cc4f299ee644b6.tar.gz cubeb-1749dc217b29cba13002a9b7e0cc4f299ee644b6.zip |
Always use default buffer size
-rw-r--r-- | src/cubeb_wasapi.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 6645ef7..728d173 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -1746,11 +1746,12 @@ wasapi_get_min_latency(cubeb * ctx, cubeb_stream_params params, uint32_t * laten synchronizing the stream and the engine. http://msdn.microsoft.com/en-us/library/windows/desktop/dd370871%28v=vs.85%29.aspx */ - #ifdef _WIN32_WINNT_WIN10 - *latency_frames = hns_to_frames(params.rate, minimum_period); - #else + // #ifdef _WIN32_WINNT_WIN10 + #if 0 + *latency_frames = hns_to_frames(params.rate, minimum_period); + #else *latency_frames = hns_to_frames(params.rate, default_period); - #endif + #endif LOG("Minimum latency in frames: %u", *latency_frames); |