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

# PartyLocalChatControl::ConfigureAudioManipulationRenderStream

> 音声操作レンダー ストリームを構成する非同期操作をキューに追加します。

音声操作レンダー ストリームを構成する非同期操作をキューに追加します。

## 構文

```cpp theme={null}
PartyError ConfigureAudioManipulationRenderStream(  
    PartyAudioManipulationSinkStreamConfiguration* configuration,  
    void* asyncIdentifier  
)  
```

### パラメーター

**`configuration`**   [PartyAudioManipulationSinkStreamConfiguration\*](/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsinkstreamconfiguration)\
*オプション*

ストリーム構成。

**`asyncIdentifier`**   void\*\
*オプション*

完了状態の変化をこの呼び出しに関連付けるために使用できる、オプションでアプリ定義のポインター サイズのコンテキスト値。

### 戻り値

PartyError

呼び出しが成功した場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。エラー コードの人間が読める形式は、[PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) で取得できます。

## 解説

構成が非 null の場合、このチャット コントロール用に音声操作レンダー ストリームが作成されます。このストリームは、このチャット コントロールにレンダリングされる音声のレンダー パイプラインとして機能します。構成が null の場合、およびストリームが以前に構成されていた場合は、ストリームは破棄されます。<br /><br /> 非 null 構成が指定された場合、非同期操作の完了時に、[PartyLocalChatControl::GetAudioManipulationRenderStream()](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationrenderstream) を介してこのチャット コントロールのレンダー ストリームを照会できます。完了は [PartyConfigureAudioManipulationRenderStreamCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationrenderstreamcompletedstatechange) によって示されます。

### プラットフォーム サポートとサポートされているフォーマット

この関数は Windows、XBOX、PlayStation® 5 でのみサポートされています。他のプラットフォームでの呼び出しは失敗します。<br /><br /> Windows と XBOX では、以下のフォーマット オプションがサポートされています。<br />

| フォーマット オプション   | サポートされる値                                                                                                  |
| -------------- | --------------------------------------------------------------------------------------------------------- |
| 1 秒あたりのサンプル数   | 8 kHz \~ 48 kHz の任意の値 (両端含む)。                                                                             |
| チャンネル マスク      | 任意の値                                                                                                      |
| チャンネル数         | 1 \~ 64 の任意の値 (両端含む)。                                                                                     |
| 1 サンプルあたりのビット数 | サンプル タイプが `PartyAudioSampleType::Float` の場合は 32。サンプル タイプが `PartyAudioSampleType::Integer` の場合は 16 または 32。 |
| サンプル タイプ       | `PartyAudioSampleType::Float` または `PartyAudioSampleType::Integer`                                         |
| インターリーブ        | true または false                                                                                            |

<br /><br /> PlayStation® 5 でサポートされているフォーマット オプションの一覧については、Party ライブラリ パッケージと共に配布されている README-RealTimeAudioManipulation.md ドキュメントを参照してください。

## 要件

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

## 関連項目

[PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)


## Related topics

- [PartyAudioManipulationSinkStreamConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsinkstreamconfiguration.md)
- [PartyConfigureAudioManipulationRenderStreamCompletedStateChange](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationrenderstreamcompletedstatechange.md)
- [PartyAudioManipulationSinkStream::GetConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getconfiguration.md)
- [PartyAudioManipulationSinkStream::GetFormat](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getformat.md)
- [リアルタイム オーディオ操作でカスタム ボイス エフェクトを適用する](/ja-jp/services/playfab/community/voice-communications/concepts-realtime-audio-manipulation.md)
