共用方式為


IAudioEndpoint::GetFramesPerPacket 方法 (audioengineendpoint.h)

GetFramesPerPacket 方法會根據端點的期間和取樣率,取得音訊端點可支援的每個封包框架數目上限。

語法

HRESULT GetFramesPerPacket(
  [out] UINT32 *pFramesPerPacket
);

參數

[out] pFramesPerPacket

接收端點可支援的每個封包框架數目上限。

傳回值

如果方法成功,它會 傳回S_OK

規格需求

需求
最低支援的用戶端 Windows 7
最低支援的伺服器 Windows Server 2008 R2
目標平台 Windows
標頭 audioengineendpoint.h

另請參閱

IAudioEndpoint