XAUDIO2_VOICE_DETAILS structure (xaudio2.h)

Contains information about the creation flags, input channels, and sample rate of a voice.

Syntax

typedef struct XAUDIO2_VOICE_DETAILS {
  UINT32 CreationFlags;
  UINT32 ActiveFlags;
  UINT32 InputChannels;
  UINT32 InputSampleRate;
} XAUDIO2_VOICE_DETAILS;

Members

CreationFlags

Flags used to create the voice; see the individual voice interfaces for more information.

ActiveFlags

Flags that are currently set on the voice.

InputChannels

The number of input channels the voice expects.

InputSampleRate

The input sample rate the voice expects.

Remarks

Note the DirectX SDK versions of XAUDIO2 do not support the ActiveFlags member.

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Header xaudio2.h

See also

Structures