Torge Matthies (@tmatthies) commented about dlls/mmdevapi/client.c:
UINT32 *max_period_frames) { struct audio_client *This = impl_from_IAudioClient3(iface); - FIXME("(%p)->(%p, %p, %p, %p, %p) - stub\n", This, format, default_period_frames, + FIXME("(%p)->(%p, %p, %p, %p, %p) - partial stub\n", + This, format, default_period_frames, unit_period_frames, min_period_frames, max_period_frames); - return E_NOTIMPL; + + *default_period_frames = + *min_period_frames = + *max_period_frames = + format->nSamplesPerSec / 100; // ~10ms
- Use C-style comments (`/* */`) ```suggestion:-0+0 format->nSamplesPerSec / 100; /* ~10ms */ ``` - It would be nice if at least the lower bound could be read from the native audio system, though I don't know how to do that -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3554#note_44120