Hello, 500ms is specified as the Duration in the Advanced settings of the DS Default DirectSound Device when connected as a renderer to the audio source in GraphEdt.exe. If you then change the Source Filter 'Latency' tab in the Filter properties, the number above can be changed by its default 500ms to the amount set in the Latency tab (IAMBufferNegotiation). However, this is not the case for MMAPI applications, the latency is minimal and not a problem. Unfortunately most users still interface with the avstream driver/filter via a DirectShow interface :( Thanks, Richard Lince, Software Engineer. Datapath Ltd - Bemrose House - Bemrose Park - Wayzgoose Drive - Derby - DE21 6XQ T: 01332 294 441 | F: 01332 290 667 | www.datapath.co.uk -----Original Message----- From: wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Roberts Sent: 24 September 2013 18:01 To: wdmaudiodev@xxxxxxxxxxxxx Subject: [DETECTED AS SPAM] [wdmaudiodev] Re: AVStream audio buffer size==latency Richard Lince wrote: > Hello, I have written an audio driver using the avstream framework, not > portclass. > All is good except for the audio latency, 500ms by default. Where do you see this number? > An addition observation is that no matter what is set by the working DS > IAmBufferNegotiation interface in GraphEdt.exe, the buffer size is always > 0x6e4 (10ms latency in size) when the process handler is called. This is usually the case. The audio subsystem tries to keep 10ms in flight. -- Tim Roberts, timr@xxxxxxxxx Providenza & Boekelheide, Inc. ****************** 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: http://www.wdmaudiodev.com/ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ****************** 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: http://www.wdmaudiodev.com/