IMiniportAudioEngineNode::GetBufferSizeRange method (portcls.h)
Gets the minimum and maximum buffer size that the hardware audio engine can support.
Syntax
NTSTATUS GetBufferSizeRange(
[in] ULONG ulNodeId,
[in] KSDATAFORMAT_WAVEFORMATEX *pKsDataFormatWfx,
[out] KSAUDIOENGINE_BUFFER_SIZE_RANGE *pBufferSizeRange
);
Parameters
[in] ulNodeId
The ID for the node that represents the audio device.
[in] pKsDataFormatWfx
A KSDATAFORMAT_WAVEFORMATEX structure that represents the audio data format for the audio device.
[out] pBufferSizeRange
A KSAUDIOENGINE_BUFFER_SIZE_RANGE structure that represents the minimum and maximum buffer size that the hardware audio engine can support at the time when it is called.
Return value
GetBufferSizeRange returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error
code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Universal |
Header | portcls.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for