AUDCLNT_SHAREMODE Enumeration

The AUDCLNT_SHAREMODE enumeration defines constants that indicate the mode of the audio stream.

Syntax

typedef enum _AUDCLNT_SHAREMODE
{
    AUDCLNT_SHAREMODE_SHARED,
    AUDCLNT_SHAREMODE_EXCLUSIVE
} AUDCLNT_SHAREMODE;  

Remarks

The IAudioClient::Initialize and IAudioClient::IsFormatSupported methods use the constants defined in the AUDCLNT_SHAREMODE enumeration.

For more information about shared-mode, see User-Mode Audio Components.

Constants

Constant Description
AUDCLNT_SHAREMODE_SHARED The audio stream will run in shared mode. In shared mode, the client can share the audio endpoint device with clients that run in other user-mode processes. The audio engine always supports formats for client streams that match the engine’s mix format. In addition, the audio engine might support another format if The audio service can insert system effects into the client stream to convert the client format to the mix format.
AUDCLNT_SHAREMODE_EXCLUSIVE The audio stream will run in exclusive mode. Exclusive mode is not supported on Xbox One.

Requirements

Header: Declared in audiosessiontypes.h.

Library: Use mmdevapi.lib.