> ## 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.

# PartyChatControl::ConfigureAudioManipulationVoiceStream

> このチャット コントロールに関連付けられたオーディオ操作音声ストリームを構成する非同期操作をキューに入れます。

このチャット コントロールに関連付けられたオーディオ操作音声ストリームを構成する非同期操作をキューに入れます。

## Syntax

```cpp theme={null}
PartyError ConfigureAudioManipulationVoiceStream(  
    PartyAudioManipulationSourceStreamConfiguration* configuration,  
    void* asyncIdentifier  
)  
```

### Parameters

**`configuration`**   [PartyAudioManipulationSourceStreamConfiguration\*](/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsourcestreamconfiguration)\
*optional*

ストリームの構成です。

**`asyncIdentifier`**   void\*\
*optional*

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

### Return value

PartyError

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

## Remarks

構成が null でない場合、このチャット コントロールに対してオーディオ操作音声ストリームが作成されます。このようなストリームは、このチャット コントロールに関連付けられた音声オーディオの出力をリダイレクトします。ライブラリが自動的に音声オーディオを処理してルーティングする代わりに、アプリはソース ストリームを使用して音声オーディオを取得し、ゲーム ロジックを介してルーティングできます。構成が null で、以前に音声ストリームが構成されている場合、音声ストリームは破棄されます。<br /><br /> 非同期操作の完了時に、null 以外の構成が指定されていた場合、このチャット コントロールの音声ストリームは [PartyChatControl::GetAudioManipulationVoiceStream()](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getaudiomanipulationvoicestream) を介してクエリできます。完了は [PartyConfigureAudioManipulationVoiceStreamCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationvoicestreamcompletedstatechange) によって示されます。

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

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

| フォーマット オプション       | ローカル チャット コントロールでサポートされる値     | リモート チャット コントロールでサポートされる値       |
| ------------------ | ----------------------------- | ------------------------------- |
| Samples per second | 24 kHz                        | 24 kHz                          |
| Channel mask       | 0                             | 0                               |
| Channel count      | 1                             | 1                               |
| Bits per sample    | 32                            | 16                              |
| Sample type        | `PartyAudioSampleType::Float` | `PartyAudioSampleType::Integer` |
| Interleaved        | false                         | false                           |

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

## Requirements

**Header:** Party.h

## See also

[PartyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)


## Related topics

- [PartyConfigureAudioManipulationVoiceStreamCompletedStateChange](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyconfigureaudiomanipulationvoicestreamcompletedstatechange.md)
- [PartyAudioManipulationSourceStreamConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsourcestreamconfiguration.md)
- [PartyAudioManipulationSourceStream::GetConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getconfiguration.md)
- [PartyAudioManipulationSourceStream::GetFormat](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getformat.md)
- [PartyAudioManipulationSourceStream::GetAvailableBufferCount](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getavailablebuffercount.md)
