XAudio2Create

XAudio2Create: Top-level function that creates an XAudio2 instance.

On Windows this is just an inline function that calls CoCreateInstance and Initialize. The arguments are described above, under Initialize, except that the XAUDIO2_DEBUG_ENGINE flag can be used here to select the debug version of XAudio2.

On Xbox, this function is implemented in the XAudio2 library, and the XAUDIO2_DEBUG_ENGINE flag has no effect; the client must explicitly link with the debug version of the library to obtain debug behavior.

version(XBOX)
STDAPI
XAudio2Create
(
,
UINT32 Flags = 0
,
XAUDIO2_PROCESSOR XAudio2Processor = XAUDIO2_DEFAULT_PROCESSOR
)

Meta