https://bugs.winehq.org/show_bug.cgi?id=42074
--- Comment #7 from Ivan Molodetskikh yalterz@gmail.com --- (In reply to Andrew Eikum from comment #2)
Thanks for the report, Ivan. Could you attach a log showing the problem with the channels from https://wiki.winehq.org/Sound? Just a few seconds should be fine, the log will get large quickly.
Also, please attach the diff you use when gathering the log.
Attached the logs. Here's the mmdevdrv.c patch I used:
56,58c56,58 < static const REFERENCE_TIME DefaultPeriod = 100000; < static const REFERENCE_TIME MinimumPeriod = 50000; < #define EXTRA_SAFE_RT 40000 ---
static const REFERENCE_TIME DefaultPeriod = 13000; static const REFERENCE_TIME MinimumPeriod = 13000; #define EXTRA_SAFE_RT 8000
Note that the values are set extremely low for good comparison which produces severe crackling in the good version.