Commit fdfff7cf authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winmm: Increase mmdevapi buffer sizes.

The tiny buffer size caused audio capture glitches on OSX, where the OS often returns audio in half-second chunks.
parent 7e7ee524
......@@ -68,8 +68,8 @@ static const WCHAR muteW[] = {'M','u','t','e',0};
* - We must be able to identify bad devices without crashing.
*/
/* buffer size = 10 * 100000 (100 ns) = 0.1 seconds */
#define AC_BUFLEN (10 * 100000)
/* buffer size = 100 * 100000 (100 ns) = 1 second */
#define AC_BUFLEN (100 * 100000)
#define MAX_DEVICES 256
#define MAPPER_INDEX 0x3F
......
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