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

> The format information needed to interpret Party audio data.

The format information needed to interpret Party audio data.

## Syntax

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

### Members

**`samplesPerSecond`**   uint32\_t

Specifies the sample frequency at which each channel should be played or recorded.

**`channelMask`**   uint32\_t

Overrides the assignment of channels in a multichannel audio stream to speaker positions.

**`channelCount`**   uint16\_t

Specifies the number of channels of audio data.

**`bitsPerSample`**   uint16\_t

Specifies the number of bits per sample. If this value is not byte-divisible, it will be assumed that the containing sample type is padded with bits to make it byte-divisble.

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

Specifies the sample type.

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

A flag representing whether the multichannel audio data is interleaved for multi-channel formats.

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)


## Related topics

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