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

# PartyAudioOutputState

> States of an audio output associated with a local chat control.

States of an audio output associated with a local chat control.

## Syntax

```cpp theme={null}
enum class PartyAudioOutputState    
{  
    NoOutput = 0,  
    Initialized = 1,  
    NotFound = 2,  
    UnsupportedFormat = 3,  
    AlreadyInUse = 4,  
    UnknownError = 5,  
}  
```

## Constants

| Constant          | Description                                                                                                                                                                                                                                    |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| NoOutput          | No audio output was specified.                                                                                                                                                                                                                 |
| Initialized       | The audio output was successfully initialized.                                                                                                                                                                                                 |
| NotFound          | The audio output wasn't found.<br /><br /> This can occur if the output was removed while in use. When in this state, the chat control will subscribe to audio device changes and use the specified output if it can be found at a later time. |
| UnsupportedFormat | The output doesn't provide a supported sample rate.                                                                                                                                                                                            |
| AlreadyInUse      | The audio output device is already in use by another chat control.                                                                                                                                                                             |
| UnknownError      | Initializing the output resulted in an unknown error.                                                                                                                                                                                          |

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PartyLocalChatAudioOutputChangedStateChange](/services/playfab/multiplayer/networking/reference/structs/partylocalchataudiooutputchangedstatechange.md)
- [Troubleshooting Voice Chat](/services/playfab/community/voice-communications/concepts-audio-troubleshooting.md)
- [Party C/C++ API overview](/services/playfab/multiplayer/networking/reference/party_members.md)
- [PartySetChatAudioOutputCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partysetchataudiooutputcompletedstatechange.md)
- [PartyLocalChatControl::GetAudioOutput](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiooutput.md)
