14 Jun
2024
14 Jun
'24
7:18 a.m.
Huw Davies (@huw) commented about dlls/mmdevapi/client.c:
TRACE("Device periods: %lu default and %lu minimum\n", (ULONG)def_period, (ULONG)min_period);
if (mode == AUDCLNT_SHAREMODE_SHARED) { - *period = def_period; + *period = max(def_period, def_period_cap);
Do we not need to do this in the exclusive case? Also, 'cap' to me implies a maximum value. I'd try `min_def_period` and change the commit msg. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5810#note_73162