Commit 94e91a90 authored by David Reid's avatar David Reid

Tweak default buffers sizes.

The default low-latency buffer size is now 10 milliseconds per period.
The default conservative buffer size is now 100 milliseconds per
period.
parent c8fa0f66
......@@ -3259,12 +3259,12 @@ static MAL_INLINE mal_bool32 mal_is_big_endian()
// The base buffer size in milliseconds for low latency mode.
#ifndef MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_LOW_LATENCY
#define MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_LOW_LATENCY 25
#define MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_LOW_LATENCY (10*MAL_DEFAULT_PERIODS)
#endif
// The base buffer size in milliseconds for conservative mode.
#ifndef MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_CONSERVATIVE
#define MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_CONSERVATIVE 150
#define MAL_BASE_BUFFER_SIZE_IN_MILLISECONDS_CONSERVATIVE (100*MAL_DEFAULT_PERIODS)
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment