> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyAudioManipulationSinkStreamConfiguration

> オーディオ シンク ストリームをセットアップするために必要な構成情報。

オーディオ シンク ストリームをセットアップするために必要な構成情報。

## 構文

```cpp theme={null}
struct PartyAudioManipulationSinkStreamConfiguration {  
    PartyAudioFormat* format;  
    uint32_t maxTotalAudioBufferSizeInMilliseconds;  
}  
```

### メンバー

**`format`**   [PartyAudioFormat](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyaudioformat.md)\*\
*nullptr の場合があります*

シンク ストリームに送信されるオーディオのフォーマットを、必要に応じて指定します。

この値が nullptr の場合、シンク ストリームはライブラリにとって最も効率的なフォーマットを使用するように構成されます。フォーマットは [PartyAudioManipulationSinkStream::GetFormat()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getformat.md) でクエリできます。

**`maxTotalAudioBufferSizeInMilliseconds`**   uint32\_t

このキューに対して同時に存在できるオーディオ バッファーの最大合計サイズ (ミリ秒単位)。

これは、シンク ストリームで内部的にキューイングされているものの、ライブラリでまだ処理されていないオーディオの合計量の上限を定義します。この上限に達すると、シンク ストリームは追加のバッファーの受け入れを停止します。\
\
&#x20;この値は、ゲームがシンク ストリームにバッファーを送信する頻度と、それらのバッファーのサイズに基づいて選択する必要があります。ライブラリは 40 ミリ秒間隔でオーディオを処理するため、最小値は 40 ミリ秒です。ほとんどのゲームでは 200 ミリ秒が適切な値です。

## 要件

**ヘッダー:** Party.h

## 関連項目

[Party メンバー](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/party_members.md)\
[PartyLocalChatControl::ConfigureAudioManipulationCaptureStream](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationcapturestream.md)\
[PartyLocalChatControl::ConfigureAudioManipulationRenderStream](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationrenderstream.md)


## Related topics

- [PartyAudioManipulationSinkStream::GetConfiguration](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getconfiguration.md)
- [PartyLocalChatControl::ConfigureAudioManipulationCaptureStream](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationcapturestream.md)
- [PartyLocalChatControl::ConfigureAudioManipulationRenderStream](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationrenderstream.md)
- [PartyConfigureAudioManipulationCaptureStreamCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationcapturestreamcompletedstatechange.md)
- [PartyConfigureAudioManipulationRenderStreamCompletedStateChange](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationrenderstreamcompletedstatechange.md)
