IAudioEndpoint::GetFramesPerPacket method (audioengineendpoint.h)
The GetFramesPerPacket method gets the maximum number of frames per packet that the audio endpoint can support, based on the endpoint's period and the sample rate.
Syntax
HRESULT GetFramesPerPacket(
[out] UINT32 *pFramesPerPacket
);
Parameters
[out] pFramesPerPacket
Receives the maximum number of frames per packet that the endpoint can support.
Return value
If the method succeeds, it returns S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | audioengineendpoint.h |