Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AUDCLNT_SESSIONFLAGS_XXX Constants

The AUDCLNT_SESSIONFLAGS_XXX constants indicate characteristics of an audio session associated with the stream. A client can specify these options during the initialization of the stream by through the StreamFlags parameter of the IAudioClient::Initialize method.

Constant/valueDescription
AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED
0x10000000

The session expires when there are no associated streams and owning session control objects holding references.

AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE
0x20000000

The volume control is hidden in the volume mixer user interface when the audio session is created. If the session associated with the stream already exists before IAudioClient::Initialize opens the stream, the volume control is displayed in the volume mixer.

AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED
0x40000000

The volume control is hidden in the volume mixer user interface after the session expires.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Audiosessiontypes.h

See also

Core Audio Constants
IAudioSessionControl

 

 

Show:
© 2017 Microsoft