By MME you mean waveOutOpen?
waveOutOpen should know about the dance and take care of it internally (by
making a second IAudioClient::Initialize call with the appropriate larger
buffer size).
If you see the error escape to the caller, please file a bug and include logs
of the problem in action.
________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Eugene Muzychenko <reg.wad@xxxxxxxxxxxxxx>
Sent: Monday, August 6, 2018 1:54:25 PM
To: Matthew van Eerde
Subject: [wdmaudiodev] Re: Other strangeness in PortCls and AudioDG
Hello Matthew,
_WITH_NOTIFICATION clients, including audiodg.exe in shared mode,
or audio applications in either exclusive mode or offload mode, need
to do the “alignment dance” to handle this problem.
Also see the DEVPKEY_KsAudio_PacketSize_Constraints property and
KSAUDIO_PACKETSIZE_CONSTRAINTS2.