mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
Revert "winmm: Increase mmdevapi buffer sizes.".
This reverts commit fdfff7cf60
.
In theory, this commit should have had no affect on winmm-using
applications and just prevented underruns on the mmdevapi side. But
Patrol Falcon abuses the winmm API by modifying the buffer after
passing it to waveOutWrite, and this patch breaks that behavior. We've
improved the winecoreaudio driver since this patch was sent, and so
large buffers should no longer be necessary to avoid underruns.
This commit is contained in:
parent
85ca920d94
commit
5b7e49e84a
@ -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 = 100 * 100000 (100 ns) = 1 second */
|
||||
#define AC_BUFLEN (100 * 100000)
|
||||
/* buffer size = 10 * 100000 (100 ns) = 0.1 seconds */
|
||||
#define AC_BUFLEN (10 * 100000)
|
||||
#define MAX_DEVICES 256
|
||||
#define MAPPER_INDEX 0x3F
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user