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

# PartyAudioFormat

> Party オーディオ データを解釈するために必要なフォーマット情報。

Party オーディオ データを解釈するために必要なフォーマット情報。

## 構文

```cpp theme={null}
struct PartyAudioFormat {  
    uint32_t samplesPerSecond;  
    uint32_t channelMask;  
    uint16_t channelCount;  
    uint16_t bitsPerSample;  
    PartyAudioSampleType sampleType;  
    PartyBool interleaved;  
}  
```

### メンバー

**`samplesPerSecond`**   uint32\_t

各チャネルを再生または録音するサンプリング周波数を指定します。

**`channelMask`**   uint32\_t

マルチチャネル オーディオ ストリーム内のチャネルをスピーカー位置に割り当てる方法をオーバーライドします。

**`channelCount`**   uint16\_t

オーディオ データのチャネル数を指定します。

**`bitsPerSample`**   uint16\_t

1 サンプルあたりのビット数を指定します。この値がバイト単位で割り切れない場合、含まれるサンプル型はバイト単位で割り切れるようにビットでパディングされていると想定されます。

**`sampleType`**   [PartyAudioSampleType](/services/playfab/multiplayer/networking/reference/enums/partyaudiosampletype)

サンプル型を指定します。

**`interleaved`**   [PartyBool](/services/playfab/multiplayer/networking/reference/typedefs)

マルチチャネル フォーマットの場合、マルチチャネル オーディオ データがインターリーブされているかどうかを表すフラグ。

## 要件

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

## 関連項目

[Party メンバー](/services/playfab/multiplayer/networking/reference/party_members)


## Related topics

- [PartyAudioManipulationSinkStream::GetFormat](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getformat.md)
- [PartyAudioManipulationSourceStream::GetFormat](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getformat.md)
- [PartyAudioManipulationSourceStreamConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsourcestreamconfiguration.md)
- [PartyAudioManipulationSinkStreamConfiguration](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsinkstreamconfiguration.md)
- [Party C/C++ API の概要](/ja-jp/services/playfab/multiplayer/networking/reference/party_members.md)
