[wdmaudiodev] Re: Other strangeness in PortCls and AudioDG

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 6 Aug 2018 21:51:23 +0000

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.

But AudioDG does not perform such "dance". It simply returns an error
to MME clients who definitely know nothing about low-level alignment
requirements.

Also see the DEVPKEY_KsAudio_PacketSize_Constraints property and 
KSAUDIO_PACKETSIZE_CONSTRAINTS2.

Packet size constraints were introduced in Win 10 but described
behavior is observed starting from Win 7.

Regards,
Eugene

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&amp;data=02%7C01%7CMatthew.van.Eerde%40microsoft.com%7C32468a3700ee41b4ffea08d5fbdee9b7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636691857186092169&amp;sdata=%2FVmKDzwMU5V5LRgchQ18Tj4N%2BCxahso3t8y0%2BdGwqVc%3D&amp;reserved=0

Other related posts: