18 #include <sdkddkver.h> 20 #if(_WIN32_WINNT < _WIN32_WINNT_WIN8) 21 #error "This version of XAudio2 is available only in Windows 8 or later. Use the XAudio2 headers and libraries from the DirectX SDK with applications that target Windows 7 and earlier versions." 22 #endif // (_WIN32_WINNT < _WIN32_WINNT_WIN8) 32 class __declspec(uuid("F5E01117-D6C4-485
A-A3F5-695196F3DBFA")) FXEQ;
33 class __declspec(uuid("C4137916-2BE1-46FD-8599-441536F49856")) FXMasteringLimiter;
34 class __declspec(uuid("7D9ACA56-CB68-4807-B632-B137352E8596")) FXReverb;
35 class __declspec(uuid("5039D740-F736-449
A-84D3-A56202557B87")) FXEcho;
38 #if !defined(GUID_DEFS_ONLY) // ignore rest if only GUID definitions requested 45 #define FXEQ_MIN_FRAMERATE 22000 46 #define FXEQ_MAX_FRAMERATE 48000 48 #define FXEQ_MIN_FREQUENCY_CENTER 20.0f 49 #define FXEQ_MAX_FREQUENCY_CENTER 20000.0f 50 #define FXEQ_DEFAULT_FREQUENCY_CENTER_0 100.0f // band 0 51 #define FXEQ_DEFAULT_FREQUENCY_CENTER_1 800.0f // band 1 52 #define FXEQ_DEFAULT_FREQUENCY_CENTER_2 2000.0f // band 2 53 #define FXEQ_DEFAULT_FREQUENCY_CENTER_3 10000.0f // band 3 55 #define FXEQ_MIN_GAIN 0.126f // -18dB 56 #define FXEQ_MAX_GAIN 7.94f // +18dB 57 #define FXEQ_DEFAULT_GAIN 1.0f // 0dB change, all bands 59 #define FXEQ_MIN_BANDWIDTH 0.1f 60 #define FXEQ_MAX_BANDWIDTH 2.0f 61 #define FXEQ_DEFAULT_BANDWIDTH 1.0f // all bands 65 #define FXMASTERINGLIMITER_MIN_RELEASE 1 66 #define FXMASTERINGLIMITER_MAX_RELEASE 20 67 #define FXMASTERINGLIMITER_DEFAULT_RELEASE 6 69 #define FXMASTERINGLIMITER_MIN_LOUDNESS 1 70 #define FXMASTERINGLIMITER_MAX_LOUDNESS 1800 71 #define FXMASTERINGLIMITER_DEFAULT_LOUDNESS 1000 75 #define FXREVERB_MIN_DIFFUSION 0.0f 76 #define FXREVERB_MAX_DIFFUSION 1.0f 77 #define FXREVERB_DEFAULT_DIFFUSION 0.9f 79 #define FXREVERB_MIN_ROOMSIZE 0.0001f 80 #define FXREVERB_MAX_ROOMSIZE 1.0f 81 #define FXREVERB_DEFAULT_ROOMSIZE 0.6f 85 #define FXECHO_MIN_WETDRYMIX 0.0f 86 #define FXECHO_MAX_WETDRYMIX 1.0f 87 #define FXECHO_DEFAULT_WETDRYMIX 0.5f 89 #define FXECHO_MIN_FEEDBACK 0.0f 90 #define FXECHO_MAX_FEEDBACK 1.0f 91 #define FXECHO_DEFAULT_FEEDBACK 0.5f 93 #define FXECHO_MIN_DELAY 1.0f 94 #define FXECHO_MAX_DELAY 2000.0f 95 #define FXECHO_DEFAULT_DELAY 500.0f 99 #pragma pack(push, 1) // set packing alignment to ensure consistency across arbitrary build environments 159 #define FX_API_(type) EXTERN_C type STDAPIVCALLTYPE 161 #if defined(FXEXPORT) 162 #define FX_API_(type) EXTERN_C __declspec(dllexport) type STDAPIVCALLTYPE 164 #define FX_API_(type) EXTERN_C __declspec(dllimport) type STDAPIVCALLTYPE 168 #define FX_IMP_(type) type STDMETHODVCALLTYPE 178 #pragma pack(pop) // revert packing alignment 179 #endif // !defined(GUID_DEFS_ONLY) class __declspec(uuid("F5E01117-D6C4-485A-A3F5-695196F3DBFA")) FXEQ
float Delay
Definition: xapofx.h:151
_Outptr_ IUnknown UINT32 InitDataByteSize
Definition: xapofx.h:175
float WetDryMix
Definition: xapofx.h:149
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
_Outptr_ IUnknown ** pEffect
Definition: xapofx.h:175
_Outptr_ IUnknown _In_reads_bytes_opt_(InitDataByteSize) const void *pInitData
#define NULL
Pointer to 0.
Definition: gctypes.h:65
float Bandwidth0
Definition: xapofx.h:108
struct FXMASTERINGLIMITER_PARAMETERS FXMASTERINGLIMITER_PARAMETERS
float Bandwidth3
Definition: xapofx.h:117
float Gain2
Definition: xapofx.h:113
struct FXECHO_PARAMETERS FXECHO_PARAMETERS
float Bandwidth1
Definition: xapofx.h:111
float Gain1
Definition: xapofx.h:110
#define A(i)
Definition: ecp_curves.c:884
float MaxDelay
Definition: xapofx.h:143
float FrequencyCenter2
Definition: xapofx.h:112
float Bandwidth2
Definition: xapofx.h:114
UINT32 Release
Definition: xapofx.h:124
struct FXEQ_PARAMETERS FXEQ_PARAMETERS
float Diffusion
Definition: xapofx.h:135
uint32_t UINT32
Definition: coretypes.h:10
float FrequencyCenter3
Definition: xapofx.h:115
float Gain3
Definition: xapofx.h:116
float FrequencyCenter0
Definition: xapofx.h:106
#define FX_API_(type)
Definition: xapofx.h:159
float RoomSize
Definition: xapofx.h:136
float FrequencyCenter1
Definition: xapofx.h:109
struct FXREVERB_PARAMETERS FXREVERB_PARAMETERS
struct FXECHO_INITDATA FXECHO_INITDATA
float Gain0
Definition: xapofx.h:107
UINT32 Loudness
Definition: xapofx.h:125
float Feedback
Definition: xapofx.h:150