// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

namespace Win32.Media.Audio.XAudio2;

public static partial class Apis
{
	public const uint FXEQ_MIN_FRAMERATE = 22000;

	public const uint FXEQ_MAX_FRAMERATE = 48000;

	public const float FXEQ_MIN_FREQUENCY_CENTER = 20f;

	public const float FXEQ_MAX_FREQUENCY_CENTER = 20000f;

	public const float FXEQ_DEFAULT_FREQUENCY_CENTER_0 = 100f;

	public const float FXEQ_DEFAULT_FREQUENCY_CENTER_1 = 800f;

	public const float FXEQ_DEFAULT_FREQUENCY_CENTER_2 = 2000f;

	public const float FXEQ_DEFAULT_FREQUENCY_CENTER_3 = 10000f;

	public const float FXEQ_MIN_GAIN = 0.126f;

	public const float FXEQ_MAX_GAIN = 7.94f;

	public const float FXEQ_DEFAULT_GAIN = 1f;

	public const float FXEQ_MIN_BANDWIDTH = 0.1f;

	public const float FXEQ_MAX_BANDWIDTH = 2f;

	public const float FXEQ_DEFAULT_BANDWIDTH = 1f;

	public const uint FXMASTERINGLIMITER_MIN_RELEASE = 1;

	public const uint FXMASTERINGLIMITER_MAX_RELEASE = 20;

	public const uint FXMASTERINGLIMITER_DEFAULT_RELEASE = 6;

	public const uint FXMASTERINGLIMITER_MIN_LOUDNESS = 1;

	public const uint FXMASTERINGLIMITER_MAX_LOUDNESS = 1800;

	public const uint FXMASTERINGLIMITER_DEFAULT_LOUDNESS = 1000;

	public const float FXREVERB_MIN_DIFFUSION = 0f;

	public const float FXREVERB_MAX_DIFFUSION = 1f;

	public const float FXREVERB_DEFAULT_DIFFUSION = 0.9f;

	public const float FXREVERB_MIN_ROOMSIZE = 0.0001f;

	public const float FXREVERB_MAX_ROOMSIZE = 1f;

	public const float FXREVERB_DEFAULT_ROOMSIZE = 0.6f;

	public const uint FXLOUDNESS_DEFAULT_MOMENTARY_MS = 400;

	public const uint FXLOUDNESS_DEFAULT_SHORTTERM_MS = 3000;

	public const float FXECHO_MIN_WETDRYMIX = 0f;

	public const float FXECHO_MAX_WETDRYMIX = 1f;

	public const float FXECHO_DEFAULT_WETDRYMIX = 0.5f;

	public const float FXECHO_MIN_FEEDBACK = 0f;

	public const float FXECHO_MAX_FEEDBACK = 1f;

	public const float FXECHO_DEFAULT_FEEDBACK = 0.5f;

	public const float FXECHO_MIN_DELAY = 1f;

	public const float FXECHO_MAX_DELAY = 2000f;

	public const float FXECHO_DEFAULT_DELAY = 500f;

	public const string XAUDIO2_DLL_A = "xaudio2_9.dll";

	public const string XAUDIO2_DLL_W = "xaudio2_9.dll";

	public const string XAUDIO2D_DLL_A = "xaudio2_9d.dll";

	public const string XAUDIO2D_DLL_W = "xaudio2_9d.dll";

	public const string XAUDIO2_DLL = "xaudio2_9.dll";

	public const string XAUDIO2D_DLL = "xaudio2_9d.dll";

	public const uint XAUDIO2_MAX_BUFFER_BYTES = 2147483648;

	public const uint XAUDIO2_MAX_QUEUED_BUFFERS = 64;

	public const uint XAUDIO2_MAX_BUFFERS_SYSTEM = 2;

	public const uint XAUDIO2_MAX_AUDIO_CHANNELS = 64;

	public const uint XAUDIO2_MIN_SAMPLE_RATE = 1000;

	public const uint XAUDIO2_MAX_SAMPLE_RATE = 200000;

	public const float XAUDIO2_MAX_VOLUME_LEVEL = 16777216f;

	public const float XAUDIO2_MAX_FREQ_RATIO = 1024f;

	public const float XAUDIO2_DEFAULT_FREQ_RATIO = 2f;

	public const float XAUDIO2_MAX_FILTER_ONEOVERQ = 1.5f;

	public const float XAUDIO2_MAX_FILTER_FREQUENCY = 1f;

	public const uint XAUDIO2_MAX_LOOP_COUNT = 254;

	public const uint XAUDIO2_MAX_INSTANCES = 8;

	public const uint XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO = 600000;

	public const uint XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL = 300000;

	public const uint XAUDIO2_COMMIT_NOW = 0;

	public const uint XAUDIO2_COMMIT_ALL = 0;

	public const uint XAUDIO2_NO_LOOP_REGION = 0;

	public const uint XAUDIO2_LOOP_INFINITE = 255;

	public const uint XAUDIO2_DEFAULT_CHANNELS = 0;

	public const uint XAUDIO2_DEFAULT_SAMPLERATE = 0;

	public const uint XAUDIO2_DEBUG_ENGINE = 1;

	public const uint XAUDIO2_VOICE_NOPITCH = 2;

	public const uint XAUDIO2_VOICE_NOSRC = 4;

	public const uint XAUDIO2_VOICE_USEFILTER = 8;

	public const uint XAUDIO2_PLAY_TAILS = 32;

	public const uint XAUDIO2_END_OF_STREAM = 64;

	public const uint XAUDIO2_SEND_USEFILTER = 128;

	public const uint XAUDIO2_VOICE_NOSAMPLESPLAYED = 256;

	public const uint XAUDIO2_STOP_ENGINE_WHEN_IDLE = 8192;

	public const uint XAUDIO2_1024_QUANTUM = 32768;

	public const uint XAUDIO2_NO_VIRTUAL_AUDIO_CLIENT = 65536;

	public const float XAUDIO2_DEFAULT_FILTER_FREQUENCY = 1f;

	public const float XAUDIO2_DEFAULT_FILTER_ONEOVERQ = 1f;

	public const uint XAUDIO2_QUANTUM_NUMERATOR = 1;

	public const uint XAUDIO2_QUANTUM_DENOMINATOR = 100;

	public const uint FACILITY_XAUDIO2 = 2198;

	public static readonly HResult XAUDIO2_E_INVALID_CALL = -2003435519;

	public static readonly HResult XAUDIO2_E_XMA_DECODER_ERROR = -2003435518;

	public static readonly HResult XAUDIO2_E_XAPO_CREATION_FAILED = -2003435517;

	public static readonly HResult XAUDIO2_E_DEVICE_INVALIDATED = -2003435516;

	public const uint Processor1 = 1;

	public const uint Processor2 = 2;

	public const uint Processor3 = 4;

	public const uint Processor4 = 8;

	public const uint Processor5 = 16;

	public const uint Processor6 = 32;

	public const uint Processor7 = 64;

	public const uint Processor8 = 128;

	public const uint Processor9 = 256;

	public const uint Processor10 = 512;

	public const uint Processor11 = 1024;

	public const uint Processor12 = 2048;

	public const uint Processor13 = 4096;

	public const uint Processor14 = 8192;

	public const uint Processor15 = 16384;

	public const uint Processor16 = 32768;

	public const uint Processor17 = 65536;

	public const uint Processor18 = 131072;

	public const uint Processor19 = 262144;

	public const uint Processor20 = 524288;

	public const uint Processor21 = 1048576;

	public const uint Processor22 = 2097152;

	public const uint Processor23 = 4194304;

	public const uint Processor24 = 8388608;

	public const uint Processor25 = 16777216;

	public const uint Processor26 = 33554432;

	public const uint Processor27 = 67108864;

	public const uint Processor28 = 134217728;

	public const uint Processor29 = 268435456;

	public const uint Processor30 = 536870912;

	public const uint Processor31 = 1073741824;

	public const uint Processor32 = 2147483648;

	public const uint XAUDIO2_ANY_PROCESSOR = 4294967295;

	public const uint XAUDIO2_USE_DEFAULT_PROCESSOR = 0;

	public const uint XAUDIO2_DEFAULT_PROCESSOR = 1;

	public const uint XAUDIO2_LOG_ERRORS = 1;

	public const uint XAUDIO2_LOG_WARNINGS = 2;

	public const uint XAUDIO2_LOG_INFO = 4;

	public const uint XAUDIO2_LOG_DETAIL = 8;

	public const uint XAUDIO2_LOG_API_CALLS = 16;

	public const uint XAUDIO2_LOG_FUNC_CALLS = 32;

	public const uint XAUDIO2_LOG_TIMING = 64;

	public const uint XAUDIO2_LOG_LOCKS = 128;

	public const uint XAUDIO2_LOG_MEMORY = 256;

	public const uint XAUDIO2_LOG_STREAMING = 4096;

	public const uint XAUDIO2FX_REVERB_MIN_FRAMERATE = 20000;

	public const uint XAUDIO2FX_REVERB_MAX_FRAMERATE = 48000;

	public const float XAUDIO2FX_REVERB_MIN_WET_DRY_MIX = 0f;

	public const uint XAUDIO2FX_REVERB_MIN_REFLECTIONS_DELAY = 0;

	public const uint XAUDIO2FX_REVERB_MIN_REVERB_DELAY = 0;

	public const uint XAUDIO2FX_REVERB_MIN_REAR_DELAY = 0;

	public const uint XAUDIO2FX_REVERB_MIN_7POINT1_SIDE_DELAY = 0;

	public const uint XAUDIO2FX_REVERB_MIN_7POINT1_REAR_DELAY = 0;

	public const uint XAUDIO2FX_REVERB_MIN_POSITION = 0;

	public const uint XAUDIO2FX_REVERB_MIN_DIFFUSION = 0;

	public const uint XAUDIO2FX_REVERB_MIN_LOW_EQ_GAIN = 0;

	public const uint XAUDIO2FX_REVERB_MIN_LOW_EQ_CUTOFF = 0;

	public const uint XAUDIO2FX_REVERB_MIN_HIGH_EQ_GAIN = 0;

	public const uint XAUDIO2FX_REVERB_MIN_HIGH_EQ_CUTOFF = 0;

	public const float XAUDIO2FX_REVERB_MIN_ROOM_FILTER_FREQ = 20f;

	public const float XAUDIO2FX_REVERB_MIN_ROOM_FILTER_MAIN = -100f;

	public const float XAUDIO2FX_REVERB_MIN_ROOM_FILTER_HF = -100f;

	public const float XAUDIO2FX_REVERB_MIN_REFLECTIONS_GAIN = -100f;

	public const float XAUDIO2FX_REVERB_MIN_REVERB_GAIN = -100f;

	public const float XAUDIO2FX_REVERB_MIN_DECAY_TIME = 0.1f;

	public const float XAUDIO2FX_REVERB_MIN_DENSITY = 0f;

	public const float XAUDIO2FX_REVERB_MIN_ROOM_SIZE = 0f;

	public const float XAUDIO2FX_REVERB_MAX_WET_DRY_MIX = 100f;

	public const uint XAUDIO2FX_REVERB_MAX_REFLECTIONS_DELAY = 300;

	public const uint XAUDIO2FX_REVERB_MAX_REVERB_DELAY = 85;

	public const uint XAUDIO2FX_REVERB_MAX_REAR_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_MAX_7POINT1_SIDE_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_MAX_7POINT1_REAR_DELAY = 20;

	public const uint XAUDIO2FX_REVERB_MAX_POSITION = 30;

	public const uint XAUDIO2FX_REVERB_MAX_DIFFUSION = 15;

	public const uint XAUDIO2FX_REVERB_MAX_LOW_EQ_GAIN = 12;

	public const uint XAUDIO2FX_REVERB_MAX_LOW_EQ_CUTOFF = 9;

	public const uint XAUDIO2FX_REVERB_MAX_HIGH_EQ_GAIN = 8;

	public const uint XAUDIO2FX_REVERB_MAX_HIGH_EQ_CUTOFF = 14;

	public const float XAUDIO2FX_REVERB_MAX_ROOM_FILTER_FREQ = 20000f;

	public const float XAUDIO2FX_REVERB_MAX_ROOM_FILTER_MAIN = 0f;

	public const float XAUDIO2FX_REVERB_MAX_ROOM_FILTER_HF = 0f;

	public const float XAUDIO2FX_REVERB_MAX_REFLECTIONS_GAIN = 20f;

	public const float XAUDIO2FX_REVERB_MAX_REVERB_GAIN = 20f;

	public const float XAUDIO2FX_REVERB_MAX_DENSITY = 100f;

	public const float XAUDIO2FX_REVERB_MAX_ROOM_SIZE = 100f;

	public const float XAUDIO2FX_REVERB_DEFAULT_WET_DRY_MIX = 100f;

	public const uint XAUDIO2FX_REVERB_DEFAULT_REFLECTIONS_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_DEFAULT_REVERB_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_DEFAULT_REAR_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_DEFAULT_7POINT1_SIDE_DELAY = 5;

	public const uint XAUDIO2FX_REVERB_DEFAULT_7POINT1_REAR_DELAY = 20;

	public const uint XAUDIO2FX_REVERB_DEFAULT_POSITION = 6;

	public const uint XAUDIO2FX_REVERB_DEFAULT_POSITION_MATRIX = 27;

	public const uint XAUDIO2FX_REVERB_DEFAULT_EARLY_DIFFUSION = 8;

	public const uint XAUDIO2FX_REVERB_DEFAULT_LATE_DIFFUSION = 8;

	public const uint XAUDIO2FX_REVERB_DEFAULT_LOW_EQ_GAIN = 8;

	public const uint XAUDIO2FX_REVERB_DEFAULT_LOW_EQ_CUTOFF = 4;

	public const uint XAUDIO2FX_REVERB_DEFAULT_HIGH_EQ_GAIN = 8;

	public const uint XAUDIO2FX_REVERB_DEFAULT_HIGH_EQ_CUTOFF = 4;

	public const float XAUDIO2FX_REVERB_DEFAULT_ROOM_FILTER_FREQ = 5000f;

	public const float XAUDIO2FX_REVERB_DEFAULT_ROOM_FILTER_MAIN = 0f;

	public const float XAUDIO2FX_REVERB_DEFAULT_ROOM_FILTER_HF = 0f;

	public const float XAUDIO2FX_REVERB_DEFAULT_REFLECTIONS_GAIN = 0f;

	public const float XAUDIO2FX_REVERB_DEFAULT_REVERB_GAIN = 0f;

	public const float XAUDIO2FX_REVERB_DEFAULT_DECAY_TIME = 1f;

	public const float XAUDIO2FX_REVERB_DEFAULT_DENSITY = 100f;

	public const float XAUDIO2FX_REVERB_DEFAULT_ROOM_SIZE = 100f;

	public const uint XAUDIO2FX_REVERB_DEFAULT_DISABLE_LATE_FIELD = 0;

	public const float HRTF_MAX_GAIN_LIMIT = 12f;

	public const float HRTF_MIN_GAIN_LIMIT = -96f;

	public const float HRTF_MIN_UNITY_GAIN_DISTANCE = 0.05f;

	public const float HRTF_DEFAULT_UNITY_GAIN_DISTANCE = 1f;

	public const uint FACILITY_XAPO = 2199;

	public static readonly HResult XAPO_E_FORMAT_UNSUPPORTED = -2003369983;

	public const uint XAPO_MIN_CHANNELS = 1;

	public const uint XAPO_MAX_CHANNELS = 64;

	public const uint XAPO_MIN_FRAMERATE = 1000;

	public const uint XAPO_MAX_FRAMERATE = 200000;

	public const uint XAPO_REGISTRATION_STRING_LENGTH = 256;

	public const uint XAPO_FLAG_CHANNELS_MUST_MATCH = 1;

	public const uint XAPO_FLAG_FRAMERATE_MUST_MATCH = 2;

	public const uint XAPO_FLAG_BITSPERSAMPLE_MUST_MATCH = 4;

	public const uint XAPO_FLAG_BUFFERCOUNT_MUST_MATCH = 8;

	public const uint XAPO_FLAG_INPLACE_REQUIRED = 32;

	public const uint XAPO_FLAG_INPLACE_SUPPORTED = 16;

	public const uint SPEAKER_MONO = 4;

	public const uint X3DAUDIO_HANDLE_BYTESIZE = 20;

	public const float X3DAUDIO_PI = 3.1415927f;

	public const float X3DAUDIO_2PI = 6.2831855f;

	public const float X3DAUDIO_SPEED_OF_SOUND = 343.5f;

	public const uint X3DAUDIO_CALCULATE_MATRIX = 1;

	public const uint X3DAUDIO_CALCULATE_DELAY = 2;

	public const uint X3DAUDIO_CALCULATE_LPF_DIRECT = 4;

	public const uint X3DAUDIO_CALCULATE_LPF_REVERB = 8;

	public const uint X3DAUDIO_CALCULATE_REVERB = 16;

	public const uint X3DAUDIO_CALCULATE_DOPPLER = 32;

	public const uint X3DAUDIO_CALCULATE_EMITTER_ANGLE = 64;

	public const uint X3DAUDIO_CALCULATE_ZEROCENTER = 65536;

	public const uint X3DAUDIO_CALCULATE_REDIRECT_TO_LFE = 131072;

	public const XAPOBufferFlags XAPO_BUFFER_SILENT = XAPOBufferFlags.Silent;
	public const XAPOBufferFlags XAPO_BUFFER_VALID = XAPOBufferFlags.Valid;
	public const FilterType LowPassFilter = FilterType.LowPassFilter;
	public const FilterType BandPassFilter = FilterType.BandPassFilter;
	public const FilterType HighPassFilter = FilterType.HighPassFilter;
	public const FilterType NotchFilter = FilterType.NotchFilter;
	public const FilterType LowPassOnePoleFilter = FilterType.LowPassOnePoleFilter;
	public const FilterType HighPassOnePoleFilter = FilterType.HighPassOnePoleFilter;
	public const HrtfDirectivityType OmniDirectional = HrtfDirectivityType.OmniDirectional;
	public const HrtfDirectivityType Cardioid = HrtfDirectivityType.Cardioid;
	public const HrtfDirectivityType Cone = HrtfDirectivityType.Cone;
	public const HrtfEnvironment Small = HrtfEnvironment.Small;
	public const HrtfEnvironment Medium = HrtfEnvironment.Medium;
	public const HrtfEnvironment Large = HrtfEnvironment.Large;
	public const HrtfEnvironment Outdoors = HrtfEnvironment.Outdoors;
	public const HrtfDistanceDecayType NaturalDecay = HrtfDistanceDecayType.NaturalDecay;
	public const HrtfDistanceDecayType CustomDecay = HrtfDistanceDecayType.CustomDecay;
}

