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.