Currently IAudioClient3_InitializeSharedAudioStream called with period obtained as min period from IAudioClient3_GetSharedModeEnginePeriod() outright fails (e. g., with 48000 samples per second) because after rounding down the period ends up smaller than actual min period (in internal representation).
This fixes Malody V crashing on start.
The first patch is obviously unrelated but now that test crashes here on bare hadrware Windows 11.