title | description | keywords | topic_type | ms.topic | api_name | api_location | api_type | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KSPROPERTY\_AUDIO\_BUFFER\_DURATION |
The KSPROPERTY\_AUDIO\_BUFFER\_DURATION property allows the size of the client application buffer to be reported as time duration. |
|
|
reference |
|
|
|
03/06/2023 |
The KSPROPERTY_AUDIO_BUFFER_DURATION property allows the size of the client application buffer to be reported as time duration.
Get | Set | Target | Property descriptor type | Property value type |
---|---|---|---|---|
No |
Yes |
Pin |
KSPROPERTY |
ULONG |
The property value is of type ULONG and represents the client buffer duration that is measured in milliseconds.
A KSPROPERTY_AUDIO_BUFFER_DURATION property request returns STATUS_SUCCESS to indicate that the property request has completed successfully. Otherwise, the request returns an appropriate error status code.
You can adjust the duration of the request for isochronous audio data capture to help improve the performance of your USB audio device. A shorter duration reduces latency but it also means that the USB audio stack must make more frequent deferred procedure calls (DPC), which may cause degraded performance.
Version |
Available in Windows 7 and later versions of Windows. |
Header |
Ksmedia.h (include Ksmedia.h) |