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

# PartyAudioManipulationSourceStream::GetFormat

> Retrieves the format of the buffers that will be provided by.

Retrieves the format of the buffers that will be provided by [PartyAudioManipulationSourceStream::GetNextBuffer()](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getnextbuffer).

## Syntax

```cpp theme={null}
PartyError GetFormat(  
    PartyAudioFormat* format  
)  
```

### Parameters

**`format`**   [PartyAudioFormat\*](/services/playfab/multiplayer/networking/reference/structs/partyaudioformat)\
*output*

The format of the buffers that will be provided by [PartyAudioManipulationSourceStream::GetNextBuffer()](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getnextbuffer).

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarks

If a format is specified in the configuration provided by [PartyAudioManipulationSourceStream::GetConfiguration()](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getconfiguration), this format will match. Otherwise, this format will be the most efficient format automatically selected by the library.

## Requirements

**Header:** Party.h

## See also

[PartyAudioManipulationSourceStream](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/partyaudiomanipulationsourcestream)\
[PartyChatControl::ConfigureAudioManipulationVoiceStream](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_configureaudiomanipulationvoicestream)\
[PartyAudioManipulationSourceStream::GetNextBuffer](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getnextbuffer)\
[PartyAudioManipulationSourceStream::GetConfiguration](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getconfiguration)


## Related topics

- [PartyAudioManipulationSourceStream::GetNextBuffer](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getnextbuffer.md)
- [PartyAudioManipulationSourceStreamConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyaudiomanipulationsourcestreamconfiguration.md)
- [PartyAudioManipulationSourceStream](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/partyaudiomanipulationsourcestream.md)
- [PartyAudioManipulationSinkStream::GetFormat](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getformat.md)
- [PartyAudioManipulationSourceStream::GetConfiguration](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getconfiguration.md)
