IAudioEndpointOffloadStreamVolume::GetChannelVolumes メソッド (audioengineendpoint.h)

GetChannelVolumes メソッドは、オフロード ストリーム内のさまざまなオーディオ チャネルのボリューム レベルを取得します。

構文

HRESULT GetChannelVolumes(
  [in]  UINT32  u32ChannelCount,
  [out] FLOAT32 *pf32Volumes
);

パラメーター

[in] u32ChannelCount

オフロードされたストリームで使用可能なオーディオ チャネルの数を示します。

[out] pf32Volumes

オフロード ストリーム内のさまざまなオーディオ チャネルのボリューム レベルへのポインター。

戻り値

GetChannelVolumes メソッドは、正常に完了したことを示すS_OKを返します。 それ以外の場合は、適切なエラー コードが返されます。

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー audioengineendpoint.h

こちらもご覧ください

IAudioEndpointOffloadStreamVolume