Redigera

PartyAudioFormat

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

The format information needed to interpret Party audio data.

Syntax

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

Specifies the sample type.

interleaved   PartyBool

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

Requirements

Header: Party.h

See also

Party members