> ## 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::ConfigureAudioManipulationCaptureStream

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

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

## 構文

```cpp theme={null}
PartyError ConfigureAudioManipulationCaptureStream(  
    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::GetAudioManipulationCaptureStream()](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationcapturestream) を介してこのチャット コントロールのキャプチャ ストリームを照会できます。完了は [PartyConfigureAudioManipulationCaptureStreamCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationcapturestreamcompletedstatechange) によって示されます。

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

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

| フォーマット オプション   | サポートされる値                      |
| -------------- | ----------------------------- |
| 1 秒あたりのサンプル数   | 24 kHz                        |
| チャンネル マスク      | 0                             |
| チャンネル数         | 1                             |
| 1 サンプルあたりのビット数 | 32                            |
| サンプル タイプ       | `PartyAudioSampleType::Float` |
| インターリーブ        | false                         |

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

## 要件

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

## 関連項目

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