zenilib: zenilib/jni/external/sdl/SDL/XAudio2.h File Reference

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Typedefs | Enumerations | Functions
XAudio2.h File Reference
`#include <comdecl.h>`
`#include <objbase.h>`
`#include <sal.h>`
`#include <audiodefs.h>`
`#include <xma2defs.h>`

Go to the source code of this file.

## Classes

struct | XAUDIO2_BUFFER
struct | XAUDIO2_BUFFER_WMA
struct | XAUDIO2_DEBUG_CONFIGURATION
struct | XAUDIO2_DEVICE_DETAILS
struct | XAUDIO2_EFFECT_CHAIN
struct | XAUDIO2_EFFECT_DESCRIPTOR
struct | XAUDIO2_FILTER_PARAMETERS
struct | XAUDIO2_PERFORMANCE_DATA
struct | XAUDIO2_SEND_DESCRIPTOR
struct | XAUDIO2_VOICE_DETAILS
struct | XAUDIO2_VOICE_SENDS
struct | XAUDIO2_VOICE_STATE

## Macros

#define | Declare_IXAudio2Voice_Methods()
#define | FACILITY_XAUDIO2 0x896
#define | FWD_DECLARE(x) typedef interface x x
#define | INTERFACE IXAudio2
#define | INTERFACE IXAudio2Voice
#define | INTERFACE IXAudio2SourceVoice
#define | INTERFACE IXAudio2SubmixVoice
#define | INTERFACE IXAudio2MasteringVoice
#define | INTERFACE IXAudio2EngineCallback
#define | INTERFACE IXAudio2VoiceCallback
#define | IXAudio2_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define | IXAudio2_CommitChanges(This, OperationSet) ((This)->lpVtbl->CommitChanges(This,OperationSet))
#define | IXAudio2_CreateMasteringVoice(This, ppMasteringVoice, InputChannels, InputSampleRate, Flags, DeviceIndex, pEffectChain) ((This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain))
#define | IXAudio2_CreateSourceVoice(This, ppSourceVoice, pSourceFormat, Flags, MaxFrequencyRatio, pCallback, pSendList, pEffectChain) ((This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain))
#define | IXAudio2_CreateSubmixVoice(This, ppSubmixVoice, InputChannels, InputSampleRate, Flags, ProcessingStage, pSendList, pEffectChain) ((This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain))
#define | IXAudio2_GetDeviceCount(This, puCount) ((This)->lpVtbl->GetDeviceCount(This,puCount))
#define | IXAudio2_GetDeviceDetails(This, Index, pDeviceDetails) ((This)->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails))
#define | IXAudio2_GetPerformanceData(This, pPerfData) ((This)->lpVtbl->GetPerformanceData(This,pPerfData))
#define | IXAudio2_Initialize(This, Flags, XAudio2Processor) ((This)->lpVtbl->Initialize(This,Flags,XAudio2Processor))
#define | IXAudio2_QueryInterface(This, riid, ppvInterface) ((This)->lpVtbl->QueryInterface(This,riid,ppvInterface))
#define | IXAudio2_Release(This) ((This)->lpVtbl->Release(This))
#define | IXAudio2_SetDebugConfiguration(This, pDebugConfiguration, pReserved) ((This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved))
#define | IXAudio2_StartEngine(This) ((This)->lpVtbl->StartEngine(This))
#define | IXAudio2_StopEngine(This) ((This)->lpVtbl->StopEngine(This))
#define | IXAudio2MasteringVoice_DestroyVoice IXAudio2Voice_DestroyVoice
#define | IXAudio2MasteringVoice_DisableEffect IXAudio2Voice_DisableEffect
#define | IXAudio2MasteringVoice_EnableEffect IXAudio2Voice_EnableEffect
#define | IXAudio2MasteringVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes
#define | IXAudio2MasteringVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters
#define | IXAudio2MasteringVoice_GetEffectState IXAudio2Voice_GetEffectState
#define | IXAudio2MasteringVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters
#define | IXAudio2MasteringVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters
#define | IXAudio2MasteringVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix
#define | IXAudio2MasteringVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails
#define | IXAudio2MasteringVoice_GetVolume IXAudio2Voice_GetVolume
#define | IXAudio2MasteringVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes
#define | IXAudio2MasteringVoice_SetEffectChain IXAudio2Voice_SetEffectChain
#define | IXAudio2MasteringVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters
#define | IXAudio2MasteringVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters
#define | IXAudio2MasteringVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters
#define | IXAudio2MasteringVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix
#define | IXAudio2MasteringVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices
#define | IXAudio2MasteringVoice_SetVolume IXAudio2Voice_SetVolume
#define | IXAudio2SourceVoice_DestroyVoice IXAudio2Voice_DestroyVoice
#define | IXAudio2SourceVoice_DisableEffect IXAudio2Voice_DisableEffect
#define | IXAudio2SourceVoice_Discontinuity(This) ((This)->lpVtbl->Discontinuity(This))
#define | IXAudio2SourceVoice_EnableEffect IXAudio2Voice_EnableEffect
#define | IXAudio2SourceVoice_ExitLoop(This, OperationSet) ((This)->lpVtbl->ExitLoop(This,OperationSet))
#define | IXAudio2SourceVoice_FlushSourceBuffers(This) ((This)->lpVtbl->FlushSourceBuffers(This))
#define | IXAudio2SourceVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes
#define | IXAudio2SourceVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters
#define | IXAudio2SourceVoice_GetEffectState IXAudio2Voice_GetEffectState
#define | IXAudio2SourceVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters
#define | IXAudio2SourceVoice_GetFrequencyRatio(This, pRatio) ((This)->lpVtbl->GetFrequencyRatio(This,pRatio))
#define | IXAudio2SourceVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters
#define | IXAudio2SourceVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix
#define | IXAudio2SourceVoice_GetState(This, pVoiceState) ((This)->lpVtbl->GetState(This,pVoiceState))
#define | IXAudio2SourceVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails
#define | IXAudio2SourceVoice_GetVolume IXAudio2Voice_GetVolume
#define | IXAudio2SourceVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes
#define | IXAudio2SourceVoice_SetEffectChain IXAudio2Voice_SetEffectChain
#define | IXAudio2SourceVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters
#define | IXAudio2SourceVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters
#define | IXAudio2SourceVoice_SetFrequencyRatio(This, Ratio, OperationSet) ((This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet))
#define | IXAudio2SourceVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters
#define | IXAudio2SourceVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix
#define | IXAudio2SourceVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices
#define | IXAudio2SourceVoice_SetSourceSampleRate(This, NewSourceSampleRate) ((This)->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate))
#define | IXAudio2SourceVoice_SetVolume IXAudio2Voice_SetVolume
#define | IXAudio2SourceVoice_Start(This, Flags, OperationSet) ((This)->lpVtbl->Start(This,Flags,OperationSet))
#define | IXAudio2SourceVoice_Stop(This, Flags, OperationSet) ((This)->lpVtbl->Stop(This,Flags,OperationSet))
#define | IXAudio2SourceVoice_SubmitSourceBuffer(This, pBuffer, pBufferWMA) ((This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA))
#define | IXAudio2SubmixVoice_DestroyVoice IXAudio2Voice_DestroyVoice
#define | IXAudio2SubmixVoice_DisableEffect IXAudio2Voice_DisableEffect
#define | IXAudio2SubmixVoice_EnableEffect IXAudio2Voice_EnableEffect
#define | IXAudio2SubmixVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes
#define | IXAudio2SubmixVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters
#define | IXAudio2SubmixVoice_GetEffectState IXAudio2Voice_GetEffectState
#define | IXAudio2SubmixVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters
#define | IXAudio2SubmixVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters
#define | IXAudio2SubmixVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix
#define | IXAudio2SubmixVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails
#define | IXAudio2SubmixVoice_GetVolume IXAudio2Voice_GetVolume
#define | IXAudio2SubmixVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes
#define | IXAudio2SubmixVoice_SetEffectChain IXAudio2Voice_SetEffectChain
#define | IXAudio2SubmixVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters
#define | IXAudio2SubmixVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters
#define | IXAudio2SubmixVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters
#define | IXAudio2SubmixVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix
#define | IXAudio2SubmixVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices
#define | IXAudio2SubmixVoice_SetVolume IXAudio2Voice_SetVolume
#define | IXAudio2Voice_DestroyVoice(This) ((This)->lpVtbl->DestroyVoice(This))
#define | IXAudio2Voice_DisableEffect(This, EffectIndex, OperationSet) ((This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet))
#define | IXAudio2Voice_EnableEffect(This, EffectIndex, OperationSet) ((This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet))
#define | IXAudio2Voice_GetChannelVolumes(This, Channels, pVolumes) ((This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes))
#define | IXAudio2Voice_GetEffectParameters(This, EffectIndex, pParameters, ParametersByteSize) ((This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize))
#define | IXAudio2Voice_GetEffectState(This, EffectIndex, pEnabled) ((This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled))
#define | IXAudio2Voice_GetFilterParameters(This, pParameters) ((This)->lpVtbl->GetFilterParameters(This,pParameters))
#define | IXAudio2Voice_GetOutputFilterParameters(This, pDestinationVoice, pParameters) ((This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters))
#define | IXAudio2Voice_GetOutputMatrix(This, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix) ((This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix))
#define | IXAudio2Voice_GetVoiceDetails(This, pVoiceDetails) ((This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails))
#define | IXAudio2Voice_GetVolume(This, pVolume) ((This)->lpVtbl->GetVolume(This,pVolume))
#define | IXAudio2Voice_SetChannelVolumes(This, Channels, pVolumes, OperationSet) ((This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet))
#define | IXAudio2Voice_SetEffectChain(This, pEffectChain) ((This)->lpVtbl->SetEffectChain(This,pEffectChain))
#define | IXAudio2Voice_SetEffectParameters(This, EffectIndex, pParameters, ParametersByteSize, OperationSet) ((This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet))
#define | IXAudio2Voice_SetFilterParameters(This, pParameters, OperationSet) ((This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet))
#define | IXAudio2Voice_SetOutputFilterParameters(This, pDestinationVoice, pParameters, OperationSet) ((This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet))
#define | IXAudio2Voice_SetOutputMatrix(This, pDestinationVoice, SourceChannels, DestinationChannels, pLevelMatrix, OperationSet) ((This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet))
#define | IXAudio2Voice_SetOutputVoices(This, pSendList) ((This)->lpVtbl->SetOutputVoices(This,pSendList))
#define | IXAudio2Voice_SetVolume(This, Volume, OperationSet) ((This)->lpVtbl->SetVolume(This,Volume,OperationSet))
#define | X2DEFAULT(x)
#define | XAUDIO2_COMMIT_ALL 0
#define | XAUDIO2_COMMIT_NOW 0
#define | XAUDIO2_DEBUG_ENGINE 0x0001
#define | XAUDIO2_DEFAULT_CHANNELS 0
#define | XAUDIO2_DEFAULT_FILTER_FREQUENCY XAUDIO2_MAX_FILTER_FREQUENCY
#define | XAUDIO2_DEFAULT_FILTER_ONEOVERQ 1.0f
#define | XAUDIO2_DEFAULT_FILTER_TYPE LowPassFilter
#define | XAUDIO2_DEFAULT_FREQ_RATIO 2.0f
#define | XAUDIO2_DEFAULT_SAMPLERATE 0
#define | XAUDIO2_E_DEVICE_INVALIDATED 0x88960004
#define | XAUDIO2_E_INVALID_CALL 0x88960001
#define | XAUDIO2_E_XAPO_CREATION_FAILED 0x88960003
#define | XAUDIO2_E_XMA_DECODER_ERROR 0x88960002
#define | XAUDIO2_END_OF_STREAM 0x0040
#define | XAUDIO2_INVALID_OPSET (UINT32)(-1)
#define | XAUDIO2_LOG_API_CALLS 0x0010
#define | XAUDIO2_LOG_DETAIL 0x0008
#define | XAUDIO2_LOG_ERRORS 0x0001
#define | XAUDIO2_LOG_FUNC_CALLS 0x0020
#define | XAUDIO2_LOG_INFO 0x0004
#define | XAUDIO2_LOG_LOCKS 0x0080
#define | XAUDIO2_LOG_MEMORY 0x0100
#define | XAUDIO2_LOG_STREAMING 0x1000
#define | XAUDIO2_LOG_TIMING 0x0040
#define | XAUDIO2_LOG_WARNINGS 0x0002
#define | XAUDIO2_LOOP_INFINITE 255
#define | XAUDIO2_MAX_AUDIO_CHANNELS 64
#define | XAUDIO2_MAX_BUFFER_BYTES 0x80000000
#define | XAUDIO2_MAX_BUFFERS_SYSTEM 2
#define | XAUDIO2_MAX_FILTER_FREQUENCY 1.0f
#define | XAUDIO2_MAX_FILTER_ONEOVERQ 1.5f
#define | XAUDIO2_MAX_FREQ_RATIO 1024.0f
#define | XAUDIO2_MAX_INSTANCES 8
#define | XAUDIO2_MAX_LOOP_COUNT 254
#define | XAUDIO2_MAX_QUEUED_BUFFERS 64
#define | XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO 600000
#define | XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL 300000
#define | XAUDIO2_MAX_SAMPLE_RATE 200000
#define | XAUDIO2_MAX_VOLUME_LEVEL 16777216.0f
#define | XAUDIO2_MIN_FREQ_RATIO (1/1024.0f)
#define | XAUDIO2_MIN_SAMPLE_RATE 1000
#define | XAUDIO2_NO_LOOP_REGION 0
#define | XAUDIO2_PLAY_TAILS 0x0020
#define | XAUDIO2_QUANTUM_DENOMINATOR 100
#define | XAUDIO2_QUANTUM_MS (1000.0f * XAUDIO2_QUANTUM_NUMERATOR / XAUDIO2_QUANTUM_DENOMINATOR)
#define | XAUDIO2_QUANTUM_NUMERATOR 1
#define | XAUDIO2_SEND_USEFILTER 0x0080
#define | XAUDIO2_VOICE_MUSIC 0x0010
#define | XAUDIO2_VOICE_NOPITCH 0x0002
#define | XAUDIO2_VOICE_NOSRC 0x0004
#define | XAUDIO2_VOICE_USEFILTER 0x0008

## Typedefs

typedef struct XAUDIO2_BUFFER | XAUDIO2_BUFFER
typedef struct XAUDIO2_BUFFER_WMA | XAUDIO2_BUFFER_WMA
typedef struct XAUDIO2_DEBUG_CONFIGURATION | XAUDIO2_DEBUG_CONFIGURATION
typedef struct XAUDIO2_DEVICE_DETAILS | XAUDIO2_DEVICE_DETAILS
typedef enum XAUDIO2_DEVICE_ROLE | XAUDIO2_DEVICE_ROLE
typedef struct XAUDIO2_EFFECT_CHAIN | XAUDIO2_EFFECT_CHAIN
typedef struct XAUDIO2_EFFECT_DESCRIPTOR | XAUDIO2_EFFECT_DESCRIPTOR
typedef struct XAUDIO2_FILTER_PARAMETERS | XAUDIO2_FILTER_PARAMETERS
typedef enum XAUDIO2_FILTER_TYPE | XAUDIO2_FILTER_TYPE
typedef struct XAUDIO2_PERFORMANCE_DATA | XAUDIO2_PERFORMANCE_DATA
typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER | XAUDIO2_PROCESSOR
typedef struct XAUDIO2_SEND_DESCRIPTOR | XAUDIO2_SEND_DESCRIPTOR
typedef struct XAUDIO2_VOICE_DETAILS | XAUDIO2_VOICE_DETAILS
typedef struct XAUDIO2_VOICE_SENDS | XAUDIO2_VOICE_SENDS
typedef struct XAUDIO2_VOICE_STATE | XAUDIO2_VOICE_STATE
typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER | XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER

## Enumerations

enum | XAUDIO2_DEVICE_ROLE { NotDefaultDevice = 0x0, DefaultConsoleDevice = 0x1, DefaultMultimediaDevice = 0x2, DefaultCommunicationsDevice = 0x4, DefaultGameDevice = 0x8, GlobalDefaultDevice = 0xf, InvalidDeviceRole = ~GlobalDefaultDevice }
enum | XAUDIO2_FILTER_TYPE { LowPassFilter, BandPassFilter, HighPassFilter, NotchFilter }

enum

XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER {
Processor1 = 0x00000001, Processor2 = 0x00000002, Processor3 = 0x00000004, Processor4 = 0x00000008,
Processor5 = 0x00000010, Processor6 = 0x00000020, Processor7 = 0x00000040, Processor8 = 0x00000080,
Processor9 = 0x00000100, Processor10 = 0x00000200, Processor11 = 0x00000400, Processor12 = 0x00000800,
Processor13 = 0x00001000, Processor14 = 0x00002000, Processor15 = 0x00004000, Processor16 = 0x00008000,
Processor17 = 0x00010000, Processor18 = 0x00020000, Processor19 = 0x00040000, Processor20 = 0x00080000,
Processor21 = 0x00100000, Processor22 = 0x00200000, Processor23 = 0x00400000, Processor24 = 0x00800000,
Processor25 = 0x01000000, Processor26 = 0x02000000, Processor27 = 0x04000000, Processor28 = 0x08000000,
Processor29 = 0x10000000, Processor30 = 0x20000000, Processor31 = 0x40000000, Processor32 = 0x80000000,
XAUDIO2_ANY_PROCESSOR = 0xffffffff, XAUDIO2_DEFAULT_PROCESSOR = XAUDIO2_ANY_PROCESSOR
}

## Functions

| DECLARE_INTERFACE (IXAudio2Voice)
| DECLARE_INTERFACE (IXAudio2EngineCallback)
| DECLARE_INTERFACE (IXAudio2VoiceCallback)
| DECLARE_INTERFACE_ (IXAudio2, IUnknown)
| DECLARE_INTERFACE_ (IXAudio2SourceVoice, IXAudio2Voice)
| DECLARE_INTERFACE_ (IXAudio2SubmixVoice, IXAudio2Voice)
| DECLARE_INTERFACE_ (IXAudio2MasteringVoice, IXAudio2Voice)
| DEFINE_CLSID (XAudio2, 5a508685, a254, 4fba, 9b, 82, 9a, 24, b0, 03, 06, af)
| DEFINE_CLSID (XAudio2_Debug, db05ea35, 0329, 4d4b, a5, 3a, 6d, ea, d0, 3d, 38, 52)
| DEFINE_IID (IXAudio2, 8bcf1f58, 9fe7, 4583, 8a, c6, e2, ad, c4, 65, c8, bb)
| FWD_DECLARE (IXAudio2)
| FWD_DECLARE (IXAudio2Voice)
| FWD_DECLARE (IXAudio2SourceVoice)
| FWD_DECLARE (IXAudio2SubmixVoice)
| FWD_DECLARE (IXAudio2MasteringVoice)
| FWD_DECLARE (IXAudio2EngineCallback)
| FWD_DECLARE (IXAudio2VoiceCallback)
__inline HRESULT | XAudio2Create (__deref_out IXAudio2 **ppXAudio2, UINT32 Flags X2DEFAULT(0), XAUDIO2_PROCESSOR XAudio2Processor X2DEFAULT(XAUDIO2_DEFAULT_PROCESSOR))

## Macro Definition Documentation

#define Declare_IXAudio2Voice_Methods | ( |  | ) |

Referenced by DECLARE_INTERFACE(), and DECLARE_INTERFACE_().

#define FACILITY_XAUDIO2 0x896

Definition at line 136 of file XAudio2.h.

#define FWD_DECLARE | ( |  | x | ) | typedef interface x x

Definition at line 152 of file XAudio2.h.

#define INTERFACE IXAudio2

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2Voice

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2SourceVoice

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2SubmixVoice

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2MasteringVoice

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2EngineCallback

Definition at line 986 of file XAudio2.h.

#define INTERFACE IXAudio2VoiceCallback

Definition at line 986 of file XAudio2.h.

#define IXAudio2_AddRef | ( |  | This | ) | ((This)->lpVtbl->AddRef(This))

Definition at line 1028 of file XAudio2.h.

#define IXAudio2_CommitChanges | ( |  | This,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->CommitChanges(This,OperationSet))

Definition at line 1038 of file XAudio2.h.

#define IXAudio2_CreateMasteringVoice | ( |  | This,
|  |  | ppMasteringVoice,
|  |  | InputChannels,
|  |  | InputSampleRate,
|  |  | Flags,
|  |  | DeviceIndex,
|  |  | pEffectChain
| ) |  | ((This)->lpVtbl->CreateMasteringVoice(This,ppMasteringVoice,InputChannels,InputSampleRate,Flags,DeviceIndex,pEffectChain))

Definition at line 1035 of file XAudio2.h.

#define IXAudio2_CreateSourceVoice | ( |  | This,
|  |  | ppSourceVoice,
|  |  | pSourceFormat,
|  |  | Flags,
|  |  | MaxFrequencyRatio,
|  |  | pCallback,
|  |  | pSendList,
|  |  | pEffectChain
| ) |  | ((This)->lpVtbl->CreateSourceVoice(This,ppSourceVoice,pSourceFormat,Flags,MaxFrequencyRatio,pCallback,pSendList,pEffectChain))

Definition at line 1033 of file XAudio2.h.

#define IXAudio2_CreateSubmixVoice | ( |  | This,
|  |  | ppSubmixVoice,
|  |  | InputChannels,
|  |  | InputSampleRate,
|  |  | Flags,
|  |  | ProcessingStage,
|  |  | pSendList,
|  |  | pEffectChain
| ) |  | ((This)->lpVtbl->CreateSubmixVoice(This,ppSubmixVoice,InputChannels,InputSampleRate,Flags,ProcessingStage,pSendList,pEffectChain))

Definition at line 1034 of file XAudio2.h.

#define IXAudio2_GetDeviceCount | ( |  | This,
|  |  | puCount
| ) |  | ((This)->lpVtbl->GetDeviceCount(This,puCount))

Definition at line 1030 of file XAudio2.h.

#define IXAudio2_GetDeviceDetails | ( |  | This,
|  |  | Index,
|  |  | pDeviceDetails
| ) |  | ((This)->lpVtbl->GetDeviceDetails(This,Index,pDeviceDetails))

Definition at line 1031 of file XAudio2.h.

#define IXAudio2_GetPerformanceData | ( |  | This,
|  |  | pPerfData
| ) |  | ((This)->lpVtbl->GetPerformanceData(This,pPerfData))

Definition at line 1039 of file XAudio2.h.

#define IXAudio2_Initialize | ( |  | This,
|  |  | Flags,
|  |  | XAudio2Processor
| ) |  | ((This)->lpVtbl->Initialize(This,Flags,XAudio2Processor))

Definition at line 1032 of file XAudio2.h.

#define IXAudio2_QueryInterface | ( |  | This,
|  |  | riid,
|  |  | ppvInterface
| ) |  | ((This)->lpVtbl->QueryInterface(This,riid,ppvInterface))

Definition at line 1027 of file XAudio2.h.

#define IXAudio2_Release | ( |  | This | ) | ((This)->lpVtbl->Release(This))

Definition at line 1029 of file XAudio2.h.

#define IXAudio2_SetDebugConfiguration | ( |  | This,
|  |  | pDebugConfiguration,
|  |  | pReserved
| ) |  | ((This)->lpVtbl->SetDebugConfiguration(This,pDebugConfiguration,pReserved))

Definition at line 1040 of file XAudio2.h.

#define IXAudio2_StartEngine | ( |  | This | ) | ((This)->lpVtbl->StartEngine(This))

Definition at line 1036 of file XAudio2.h.

#define IXAudio2_StopEngine | ( |  | This | ) | ((This)->lpVtbl->StopEngine(This))

Definition at line 1037 of file XAudio2.h.

#define IXAudio2MasteringVoice_DestroyVoice IXAudio2Voice_DestroyVoice

Definition at line 1134 of file XAudio2.h.

#define IXAudio2MasteringVoice_DisableEffect IXAudio2Voice_DisableEffect

Definition at line 1120 of file XAudio2.h.

#define IXAudio2MasteringVoice_EnableEffect IXAudio2Voice_EnableEffect

Definition at line 1119 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes

Definition at line 1131 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters

Definition at line 1123 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetEffectState IXAudio2Voice_GetEffectState

Definition at line 1121 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters

Definition at line 1125 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters

Definition at line 1127 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix

Definition at line 1133 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails

Definition at line 1116 of file XAudio2.h.

#define IXAudio2MasteringVoice_GetVolume IXAudio2Voice_GetVolume

Definition at line 1129 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes

Definition at line 1130 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetEffectChain IXAudio2Voice_SetEffectChain

Definition at line 1118 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters

Definition at line 1122 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters

Definition at line 1124 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters

Definition at line 1126 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix

Definition at line 1132 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices

Definition at line 1117 of file XAudio2.h.

#define IXAudio2MasteringVoice_SetVolume IXAudio2Voice_SetVolume

Definition at line 1128 of file XAudio2.h.

#define IXAudio2SourceVoice_DestroyVoice IXAudio2Voice_DestroyVoice

Definition at line 1082 of file XAudio2.h.

#define IXAudio2SourceVoice_DisableEffect IXAudio2Voice_DisableEffect

Definition at line 1068 of file XAudio2.h.

#define IXAudio2SourceVoice_Discontinuity | ( |  | This | ) | ((This)->lpVtbl->Discontinuity(This))

Definition at line 1087 of file XAudio2.h.

#define IXAudio2SourceVoice_EnableEffect IXAudio2Voice_EnableEffect

Definition at line 1067 of file XAudio2.h.

#define IXAudio2SourceVoice_ExitLoop | ( |  | This,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->ExitLoop(This,OperationSet))

Definition at line 1088 of file XAudio2.h.

#define IXAudio2SourceVoice_FlushSourceBuffers | ( |  | This | ) | ((This)->lpVtbl->FlushSourceBuffers(This))

Definition at line 1086 of file XAudio2.h.

#define IXAudio2SourceVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes

Definition at line 1079 of file XAudio2.h.

#define IXAudio2SourceVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters

Definition at line 1071 of file XAudio2.h.

#define IXAudio2SourceVoice_GetEffectState IXAudio2Voice_GetEffectState

Definition at line 1069 of file XAudio2.h.

#define IXAudio2SourceVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters

Definition at line 1073 of file XAudio2.h.

#define IXAudio2SourceVoice_GetFrequencyRatio | ( |  | This,
|  |  | pRatio
| ) |  | ((This)->lpVtbl->GetFrequencyRatio(This,pRatio))

Definition at line 1091 of file XAudio2.h.

#define IXAudio2SourceVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters

Definition at line 1075 of file XAudio2.h.

#define IXAudio2SourceVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix

Definition at line 1081 of file XAudio2.h.

#define IXAudio2SourceVoice_GetState | ( |  | This,
|  |  | pVoiceState
| ) |  | ((This)->lpVtbl->GetState(This,pVoiceState))

Definition at line 1089 of file XAudio2.h.

#define IXAudio2SourceVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails

Definition at line 1064 of file XAudio2.h.

#define IXAudio2SourceVoice_GetVolume IXAudio2Voice_GetVolume

Definition at line 1077 of file XAudio2.h.

#define IXAudio2SourceVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes

Definition at line 1078 of file XAudio2.h.

#define IXAudio2SourceVoice_SetEffectChain IXAudio2Voice_SetEffectChain

Definition at line 1066 of file XAudio2.h.

#define IXAudio2SourceVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters

Definition at line 1070 of file XAudio2.h.

#define IXAudio2SourceVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters

Definition at line 1072 of file XAudio2.h.

#define IXAudio2SourceVoice_SetFrequencyRatio | ( |  | This,
|  |  | Ratio,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetFrequencyRatio(This,Ratio,OperationSet))

Definition at line 1090 of file XAudio2.h.

#define IXAudio2SourceVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters

Definition at line 1074 of file XAudio2.h.

#define IXAudio2SourceVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix

Definition at line 1080 of file XAudio2.h.

#define IXAudio2SourceVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices

Definition at line 1065 of file XAudio2.h.

#define IXAudio2SourceVoice_SetSourceSampleRate | ( |  | This,
|  |  | NewSourceSampleRate
| ) |  | ((This)->lpVtbl->SetSourceSampleRate(This,NewSourceSampleRate))

Definition at line 1092 of file XAudio2.h.

#define IXAudio2SourceVoice_SetVolume IXAudio2Voice_SetVolume

Definition at line 1076 of file XAudio2.h.

#define IXAudio2SourceVoice_Start | ( |  | This,
|  |  | Flags,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->Start(This,Flags,OperationSet))

Definition at line 1083 of file XAudio2.h.

#define IXAudio2SourceVoice_Stop | ( |  | This,
|  |  | Flags,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->Stop(This,Flags,OperationSet))

Definition at line 1084 of file XAudio2.h.

#define IXAudio2SourceVoice_SubmitSourceBuffer | ( |  | This,
|  |  | pBuffer,
|  |  | pBufferWMA
| ) |  | ((This)->lpVtbl->SubmitSourceBuffer(This,pBuffer,pBufferWMA))

Definition at line 1085 of file XAudio2.h.

#define IXAudio2SubmixVoice_DestroyVoice IXAudio2Voice_DestroyVoice

Definition at line 1113 of file XAudio2.h.

#define IXAudio2SubmixVoice_DisableEffect IXAudio2Voice_DisableEffect

Definition at line 1099 of file XAudio2.h.

#define IXAudio2SubmixVoice_EnableEffect IXAudio2Voice_EnableEffect

Definition at line 1098 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetChannelVolumes IXAudio2Voice_GetChannelVolumes

Definition at line 1110 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetEffectParameters IXAudio2Voice_GetEffectParameters

Definition at line 1102 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetEffectState IXAudio2Voice_GetEffectState

Definition at line 1100 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetFilterParameters IXAudio2Voice_GetFilterParameters

Definition at line 1104 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetOutputFilterParameters IXAudio2Voice_GetOutputFilterParameters

Definition at line 1106 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetOutputMatrix IXAudio2Voice_GetOutputMatrix

Definition at line 1112 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetVoiceDetails IXAudio2Voice_GetVoiceDetails

Definition at line 1095 of file XAudio2.h.

#define IXAudio2SubmixVoice_GetVolume IXAudio2Voice_GetVolume

Definition at line 1108 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetChannelVolumes IXAudio2Voice_SetChannelVolumes

Definition at line 1109 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetEffectChain IXAudio2Voice_SetEffectChain

Definition at line 1097 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetEffectParameters IXAudio2Voice_SetEffectParameters

Definition at line 1101 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetFilterParameters IXAudio2Voice_SetFilterParameters

Definition at line 1103 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetOutputFilterParameters IXAudio2Voice_SetOutputFilterParameters

Definition at line 1105 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetOutputMatrix IXAudio2Voice_SetOutputMatrix

Definition at line 1111 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetOutputVoices IXAudio2Voice_SetOutputVoices

Definition at line 1096 of file XAudio2.h.

#define IXAudio2SubmixVoice_SetVolume IXAudio2Voice_SetVolume

Definition at line 1107 of file XAudio2.h.

#define IXAudio2Voice_DestroyVoice | ( |  | This | ) | ((This)->lpVtbl->DestroyVoice(This))

Definition at line 1061 of file XAudio2.h.

#define IXAudio2Voice_DisableEffect | ( |  | This,
|  |  | EffectIndex,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->DisableEffect(This,EffectIndex,OperationSet))

Definition at line 1047 of file XAudio2.h.

#define IXAudio2Voice_EnableEffect | ( |  | This,
|  |  | EffectIndex,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->EnableEffect(This,EffectIndex,OperationSet))

Definition at line 1046 of file XAudio2.h.

#define IXAudio2Voice_GetChannelVolumes | ( |  | This,
|  |  | Channels,
|  |  | pVolumes
| ) |  | ((This)->lpVtbl->GetChannelVolumes(This,Channels,pVolumes))

Definition at line 1058 of file XAudio2.h.

#define IXAudio2Voice_GetEffectParameters | ( |  | This,
|  |  | EffectIndex,
|  |  | pParameters,
|  |  | ParametersByteSize
| ) |  | ((This)->lpVtbl->GetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize))

Definition at line 1050 of file XAudio2.h.

#define IXAudio2Voice_GetEffectState | ( |  | This,
|  |  | EffectIndex,
|  |  | pEnabled
| ) |  | ((This)->lpVtbl->GetEffectState(This,EffectIndex,pEnabled))

Definition at line 1048 of file XAudio2.h.

#define IXAudio2Voice_GetFilterParameters | ( |  | This,
|  |  | pParameters
| ) |  | ((This)->lpVtbl->GetFilterParameters(This,pParameters))

Definition at line 1052 of file XAudio2.h.

#define IXAudio2Voice_GetOutputFilterParameters | ( |  | This,
|  |  | pDestinationVoice,
|  |  | pParameters
| ) |  | ((This)->lpVtbl->GetOutputFilterParameters(This,pDestinationVoice,pParameters))

Definition at line 1054 of file XAudio2.h.

#define IXAudio2Voice_GetOutputMatrix | ( |  | This,
|  |  | pDestinationVoice,
|  |  | SourceChannels,
|  |  | DestinationChannels,
|  |  | pLevelMatrix
| ) |  | ((This)->lpVtbl->GetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix))

Definition at line 1060 of file XAudio2.h.

#define IXAudio2Voice_GetVoiceDetails | ( |  | This,
|  |  | pVoiceDetails
| ) |  | ((This)->lpVtbl->GetVoiceDetails(This,pVoiceDetails))

Definition at line 1043 of file XAudio2.h.

#define IXAudio2Voice_GetVolume | ( |  | This,
|  |  | pVolume
| ) |  | ((This)->lpVtbl->GetVolume(This,pVolume))

Definition at line 1056 of file XAudio2.h.

#define IXAudio2Voice_SetChannelVolumes | ( |  | This,
|  |  | Channels,
|  |  | pVolumes,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetChannelVolumes(This,Channels,pVolumes,OperationSet))

Definition at line 1057 of file XAudio2.h.

#define IXAudio2Voice_SetEffectChain | ( |  | This,
|  |  | pEffectChain
| ) |  | ((This)->lpVtbl->SetEffectChain(This,pEffectChain))

Definition at line 1045 of file XAudio2.h.

#define IXAudio2Voice_SetEffectParameters | ( |  | This,
|  |  | EffectIndex,
|  |  | pParameters,
|  |  | ParametersByteSize,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetEffectParameters(This,EffectIndex,pParameters,ParametersByteSize,OperationSet))

Definition at line 1049 of file XAudio2.h.

#define IXAudio2Voice_SetFilterParameters | ( |  | This,
|  |  | pParameters,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetFilterParameters(This,pParameters,OperationSet))

Definition at line 1051 of file XAudio2.h.

#define IXAudio2Voice_SetOutputFilterParameters | ( |  | This,
|  |  | pDestinationVoice,
|  |  | pParameters,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetOutputFilterParameters(This,pDestinationVoice,pParameters,OperationSet))

Definition at line 1053 of file XAudio2.h.

#define IXAudio2Voice_SetOutputMatrix | ( |  | This,
|  |  | pDestinationVoice,
|  |  | SourceChannels,
|  |  | DestinationChannels,
|  |  | pLevelMatrix,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetOutputMatrix(This,pDestinationVoice,SourceChannels,DestinationChannels,pLevelMatrix,OperationSet))

Definition at line 1059 of file XAudio2.h.

#define IXAudio2Voice_SetOutputVoices | ( |  | This,
|  |  | pSendList
| ) |  | ((This)->lpVtbl->SetOutputVoices(This,pSendList))

Definition at line 1044 of file XAudio2.h.

#define IXAudio2Voice_SetVolume | ( |  | This,
|  |  | Volume,
|  |  | OperationSet
| ) |  | ((This)->lpVtbl->SetVolume(This,Volume,OperationSet))

Definition at line 1055 of file XAudio2.h.

#define X2DEFAULT | ( |  | x | ) |

Definition at line 420 of file XAudio2.h.

Referenced by DECLARE_INTERFACE_().

#define XAUDIO2_COMMIT_ALL 0

Definition at line 103 of file XAudio2.h.

#define XAUDIO2_COMMIT_NOW 0

Definition at line 102 of file XAudio2.h.

Referenced by DECLARE_INTERFACE_().

#define XAUDIO2_DEBUG_ENGINE 0x0001

Definition at line 111 of file XAudio2.h.

Referenced by XAudio2Create().

#define XAUDIO2_DEFAULT_CHANNELS 0

Definition at line 107 of file XAudio2.h.

Referenced by DECLARE_INTERFACE_().

#define XAUDIO2_DEFAULT_FILTER_FREQUENCY XAUDIO2_MAX_FILTER_FREQUENCY

Definition at line 122 of file XAudio2.h.

#define XAUDIO2_DEFAULT_FILTER_ONEOVERQ 1.0f

Definition at line 123 of file XAudio2.h.

#define XAUDIO2_DEFAULT_FILTER_TYPE LowPassFilter

Definition at line 121 of file XAudio2.h.

#define XAUDIO2_DEFAULT_FREQ_RATIO 2.0f

Definition at line 89 of file XAudio2.h.

Referenced by DECLARE_INTERFACE_().

#define XAUDIO2_DEFAULT_SAMPLERATE 0

Definition at line 108 of file XAudio2.h.

Referenced by DECLARE_INTERFACE_().

#define XAUDIO2_E_DEVICE_INVALIDATED 0x88960004

Definition at line 140 of file XAudio2.h.

#define XAUDIO2_E_INVALID_CALL 0x88960001

Definition at line 137 of file XAudio2.h.

#define XAUDIO2_E_XAPO_CREATION_FAILED 0x88960003

Definition at line 139 of file XAudio2.h.

#define XAUDIO2_E_XMA_DECODER_ERROR 0x88960002

Definition at line 138 of file XAudio2.h.

#define XAUDIO2_END_OF_STREAM 0x0040

Definition at line 117 of file XAudio2.h.

#define XAUDIO2_INVALID_OPSET (UINT32)(-1)

Definition at line 104 of file XAudio2.h.

#define XAUDIO2_LOG_API_CALLS 0x0010

Definition at line 402 of file XAudio2.h.

#define XAUDIO2_LOG_DETAIL 0x0008

Definition at line 401 of file XAudio2.h.

#define XAUDIO2_LOG_ERRORS 0x0001

Definition at line 398 of file XAudio2.h.

#define XAUDIO2_LOG_FUNC_CALLS 0x0020

Definition at line 403 of file XAudio2.h.

#define XAUDIO2_LOG_INFO 0x0004

Definition at line 400 of file XAudio2.h.

#define XAUDIO2_LOG_LOCKS 0x0080

Definition at line 405 of file XAudio2.h.

#define XAUDIO2_LOG_MEMORY 0x0100

Definition at line 406 of file XAudio2.h.

#define XAUDIO2_LOG_STREAMING 0x1000

Definition at line 407 of file XAudio2.h.

#define XAUDIO2_LOG_TIMING 0x0040

Definition at line 404 of file XAudio2.h.

#define XAUDIO2_LOG_WARNINGS 0x0002

Definition at line 399 of file XAudio2.h.

#define XAUDIO2_LOOP_INFINITE 255

Definition at line 106 of file XAudio2.h.

#define XAUDIO2_MAX_AUDIO_CHANNELS 64

Definition at line 83 of file XAudio2.h.

#define XAUDIO2_MAX_BUFFER_BYTES 0x80000000

Definition at line 80 of file XAudio2.h.

#define XAUDIO2_MAX_BUFFERS_SYSTEM 2

Definition at line 82 of file XAudio2.h.

#define XAUDIO2_MAX_FILTER_FREQUENCY 1.0f

Definition at line 91 of file XAudio2.h.

#define XAUDIO2_MAX_FILTER_ONEOVERQ 1.5f

Definition at line 90 of file XAudio2.h.

#define XAUDIO2_MAX_FREQ_RATIO 1024.0f

Definition at line 88 of file XAudio2.h.

#define XAUDIO2_MAX_INSTANCES 8

Definition at line 93 of file XAudio2.h.

#define XAUDIO2_MAX_LOOP_COUNT 254

Definition at line 92 of file XAudio2.h.

#define XAUDIO2_MAX_QUEUED_BUFFERS 64

Definition at line 81 of file XAudio2.h.

#define XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO 600000

Definition at line 98 of file XAudio2.h.

#define XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL 300000

Definition at line 99 of file XAudio2.h.

#define XAUDIO2_MAX_SAMPLE_RATE 200000

Definition at line 85 of file XAudio2.h.

#define XAUDIO2_MAX_VOLUME_LEVEL 16777216.0f

Definition at line 86 of file XAudio2.h.

#define XAUDIO2_MIN_FREQ_RATIO (1/1024.0f)

Definition at line 87 of file XAudio2.h.

#define XAUDIO2_MIN_SAMPLE_RATE 1000

Definition at line 84 of file XAudio2.h.

#define XAUDIO2_NO_LOOP_REGION 0

Definition at line 105 of file XAudio2.h.

#define XAUDIO2_PLAY_TAILS 0x0020

Definition at line 116 of file XAudio2.h.

#define XAUDIO2_QUANTUM_DENOMINATOR 100

Definition at line 131 of file XAudio2.h.

#define XAUDIO2_QUANTUM_MS (1000.0f * XAUDIO2_QUANTUM_NUMERATOR / XAUDIO2_QUANTUM_DENOMINATOR)

Definition at line 133 of file XAudio2.h.

#define XAUDIO2_QUANTUM_NUMERATOR 1

Definition at line 130 of file XAudio2.h.

#define XAUDIO2_SEND_USEFILTER 0x0080

Definition at line 118 of file XAudio2.h.

#define XAUDIO2_VOICE_MUSIC 0x0010

Definition at line 115 of file XAudio2.h.

#define XAUDIO2_VOICE_NOPITCH 0x0002

Definition at line 112 of file XAudio2.h.

#define XAUDIO2_VOICE_NOSRC 0x0004

Definition at line 113 of file XAudio2.h.

#define XAUDIO2_VOICE_USEFILTER 0x0008

Definition at line 114 of file XAudio2.h.

## Typedef Documentation

typedef struct XAUDIO2_BUFFER XAUDIO2_BUFFER

typedef struct XAUDIO2_BUFFER_WMA XAUDIO2_BUFFER_WMA

typedef struct XAUDIO2_DEBUG_CONFIGURATION XAUDIO2_DEBUG_CONFIGURATION

typedef struct XAUDIO2_DEVICE_DETAILS XAUDIO2_DEVICE_DETAILS

typedef enum XAUDIO2_DEVICE_ROLE XAUDIO2_DEVICE_ROLE

typedef struct XAUDIO2_EFFECT_CHAIN XAUDIO2_EFFECT_CHAIN

typedef struct XAUDIO2_EFFECT_DESCRIPTOR XAUDIO2_EFFECT_DESCRIPTOR

typedef struct XAUDIO2_FILTER_PARAMETERS XAUDIO2_FILTER_PARAMETERS

typedef enum XAUDIO2_FILTER_TYPE XAUDIO2_FILTER_TYPE

typedef struct XAUDIO2_PERFORMANCE_DATA XAUDIO2_PERFORMANCE_DATA

typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER XAUDIO2_PROCESSOR

typedef struct XAUDIO2_SEND_DESCRIPTOR XAUDIO2_SEND_DESCRIPTOR

typedef struct XAUDIO2_VOICE_DETAILS XAUDIO2_VOICE_DETAILS

typedef struct XAUDIO2_VOICE_SENDS XAUDIO2_VOICE_SENDS

typedef struct XAUDIO2_VOICE_STATE XAUDIO2_VOICE_STATE

typedef enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER

## Enumeration Type Documentation

enum XAUDIO2_DEVICE_ROLE

Enumerator
NotDefaultDevice |
DefaultConsoleDevice |
DefaultMultimediaDevice |
DefaultCommunicationsDevice |
DefaultGameDevice |
GlobalDefaultDevice |
InvalidDeviceRole |

Definition at line 226 of file XAudio2.h.

enum XAUDIO2_FILTER_TYPE

Enumerator
LowPassFilter |
BandPassFilter |
HighPassFilter |
NotchFilter |

Definition at line 284 of file XAudio2.h.

enum XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER

Enumerator
Processor1 |
Processor2 |
Processor3 |
Processor4 |
Processor5 |
Processor6 |
Processor7 |
Processor8 |
Processor9 |
Processor10 |
Processor11 |
Processor12 |
Processor13 |
Processor14 |
Processor15 |
Processor16 |
Processor17 |
Processor18 |
Processor19 |
Processor20 |
Processor21 |
Processor22 |
Processor23 |
Processor24 |
Processor25 |
Processor26 |
Processor27 |
Processor28 |
Processor29 |
Processor30 |
Processor31 |
Processor32 |
XAUDIO2_ANY_PROCESSOR |
XAUDIO2_DEFAULT_PROCESSOR |

Definition at line 184 of file XAudio2.h.

## Function Documentation

DECLARE_INTERFACE | ( | IXAudio2Voice |  | ) |

Definition at line 596 of file XAudio2.h.

References Declare_IXAudio2Voice_Methods.

DECLARE_INTERFACE | ( | IXAudio2EngineCallback |  | ) |

Definition at line 960 of file XAudio2.h.

References HRESULT().

DECLARE_INTERFACE | ( | IXAudio2VoiceCallback |  | ) |

Definition at line 987 of file XAudio2.h.

References HRESULT().

DECLARE_INTERFACE_ | ( | IXAudio2 | ,
|  | IUnknown |
| ) |  |

Definition at line 425 of file XAudio2.h.

References NULL, X2DEFAULT, XAUDIO2_DEFAULT_CHANNELS, XAUDIO2_DEFAULT_FREQ_RATIO, XAUDIO2_DEFAULT_PROCESSOR, and XAUDIO2_DEFAULT_SAMPLERATE.

DECLARE_INTERFACE_ | ( | IXAudio2SourceVoice | ,
|  | IXAudio2Voice |
| ) |  |

Definition at line 820 of file XAudio2.h.

References Declare_IXAudio2Voice_Methods, NULL, X2DEFAULT, and XAUDIO2_COMMIT_NOW.

DECLARE_INTERFACE_ | ( | IXAudio2SubmixVoice | ,
|  | IXAudio2Voice |
| ) |  |

Definition at line 920 of file XAudio2.h.

References Declare_IXAudio2Voice_Methods.

DECLARE_INTERFACE_ | ( | IXAudio2MasteringVoice | ,
|  | IXAudio2Voice |
| ) |  |

Definition at line 937 of file XAudio2.h.

References Declare_IXAudio2Voice_Methods.

DEFINE_CLSID | ( | XAudio2 | ,
|  | 5a508685 | ,
|  | a254 | ,
|  | 4fba | ,
|  | 9b | ,
|  | 82 | ,
|  | 9a | ,
|  | 24 | ,
|  | b0 | ,
|  | 03 | ,
|  | 06 | ,
|  | af |
| ) |  |

DEFINE_CLSID | ( | XAudio2_Debug | ,
|  | db05ea35 | ,
|  | 0329 | ,
|  | 4d4b | ,
|  | a5 | ,
|  | 3a | ,
|  | 6d | ,
|  | ea | ,
|  | d0 | ,
|  | 3d | ,
|  | 38 | ,
|  | 52 |
| ) |  |

DEFINE_IID | ( | IXAudio2 | ,
|  | 8bcf1f58 | ,
|  | 9fe7 | ,
|  | 4583 | ,
|  | 8a | ,
|  | c6 | ,
|  | e2 | ,
|  | ad | ,
|  | c4 | ,
|  | 65 | ,
|  | c8 | ,
|  | bb |
| ) |  |

FWD_DECLARE | ( | IXAudio2 |  | ) |

FWD_DECLARE | ( | IXAudio2Voice |  | ) |

FWD_DECLARE | ( | IXAudio2SourceVoice |  | ) |

FWD_DECLARE | ( | IXAudio2SubmixVoice |  | ) |

FWD_DECLARE | ( | IXAudio2MasteringVoice |  | ) |

FWD_DECLARE | ( | IXAudio2EngineCallback |  | ) |

FWD_DECLARE | ( | IXAudio2VoiceCallback |  | ) |

__inline HRESULT XAudio2Create | ( | __deref_out IXAudio2 ** | ppXAudio2,
|  | UINT32 Flags | X2DEFAULT0,
|  | XAUDIO2_PROCESSOR XAudio2Processor | X2DEFAULTXAUDIO2_DEFAULT_PROCESSOR
| ) |  |

Definition at line 1228 of file XAudio2.h.

References HRESULT(), NULL, and XAUDIO2_DEBUG_ENGINE.