XAUDIO2_PROCESSOR

Defines values to use with XAudio2Create to specify available processors.

Constant/value Description
Processor1
0x00000001
Processor 1
Processor2
0x00000002
Processor 2
Processor3
0x00000004
Processor 3
Processor4
0x00000008
Processor 4
Processor5
0x00000010
Processor 5
Processor6
0x00000020
Processor 6
Processor7
0x00000040
Processor 7
Processor8
0x00000080
Processor 8
Processor9
0x00000100
Processor 9
Processor10
0x00000200
Processor 10
Processor11
0x00000400
Processor 11
Processor12
0x00000800
Processor 12
Processor13
0x00001000
Processor 13
Processor14
0x00002000
Processor 14
Processor15
0x00004000
Processor 15
Processor16
0x00008000
Processor 16
Processor17
0x00010000
Processor 17
Processor18
0x00020000
Processor 18
Processor19
0x00040000
Processor 19
Processor20
0x00080000
Processor 20
Processor21
0x00100000
Processor 21
Processor22
0x00200000
Processor 22
Processor23
0x00400000
Processor 23
Processor24
0x00800000
Processor 24
Processor25
0x01000000
Processor 25
Processor26
0x02000000
Processor 26
Processor27
0x04000000
Processor 27
Processor28
0x08000000
Processor 28
Processor29
0x10000000
Processor 29
Processor30
0x20000000
Processor 30
Processor31
0x40000000
Processor 31
Processor32
0x80000000
Processor 32
XAUDIO2_ANY_PROCESSOR
0xffffffff
All processors.
Note If you specify XAUDIO2_ANY_PROCESSOR, the system will use all of the device's processors and, as stated in the Remarks section below, create a worker thread for each processor.

XAUDIO2_DEFAULT_PROCESSOR
Processor1
Default processor, which is defined as processor 1.

Remarks

XAUDIO2_PROCESSOR is type defined as a 32-bit value.

Note If multiple processors bits are set when calling XAudio2Create, the system will create a separate worker thread for each processor.
typedef UINT32 XAUDIO2_PROCESSOR;

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

Constants

XAudio2Create