mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Increase default period size
This commit is contained in:
@@ -2766,7 +2766,7 @@ typedef LONG (WINAPI * MAL_PFN_RegQueryValueExA)(HKEY hKey, LPCSTR lpValueName,
|
|||||||
// If this is too small you may get underruns and overruns in which case you'll need to either increase
|
// If this is too small you may get underruns and overruns in which case you'll need to either increase
|
||||||
// this value or use an explicit buffer size.
|
// this value or use an explicit buffer size.
|
||||||
#ifndef MAL_DEFAULT_BUFFER_SIZE_IN_MILLISECONDS
|
#ifndef MAL_DEFAULT_BUFFER_SIZE_IN_MILLISECONDS
|
||||||
#define MAL_DEFAULT_BUFFER_SIZE_IN_MILLISECONDS 25
|
#define MAL_DEFAULT_BUFFER_SIZE_IN_MILLISECONDS 50
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Default periods when none is specified in mal_device_init(). More periods means more work on the CPU.
|
// Default periods when none is specified in mal_device_init(). More periods means more work on the CPU.
|
||||||
|
|||||||
Reference in New Issue
Block a user