mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 22:35:40 +00:00
445 lines
20 KiB
C#
445 lines
20 KiB
C#
|
#region --- OpenTK.OpenAL License ---
|
|||
|
/* EfxTokens.cs
|
|||
|
* C headers: \OpenAL 1.1 SDK\include\ "efx.h", "efx-creative.h", "Efx-Util.h"
|
|||
|
* Spec: Effects Extension Guide.pdf (bundled with OpenAL SDK)
|
|||
|
* Copyright (c) 2008 Christoph Brandtner and Stefanos Apostolopoulos
|
|||
|
* See license.txt for license details
|
|||
|
* http://www.OpenTK.net */
|
|||
|
#endregion
|
|||
|
|
|||
|
using System;
|
|||
|
|
|||
|
namespace OpenTK.OpenAL
|
|||
|
{
|
|||
|
public partial class Efx
|
|||
|
{
|
|||
|
// AL chorus effect parameter ranges and defaults
|
|||
|
// AL_CHORUS_WAVEFORM_SINUSOID 0
|
|||
|
// AL_CHORUS_WAVEFORM_TRIANGLE 1
|
|||
|
|
|||
|
// AL flanger effect parameter ranges and defaults
|
|||
|
// AL_FLANGER_WAVEFORM_SINUSOID 0
|
|||
|
// AL_FLANGER_WAVEFORM_TRIANGLE 1
|
|||
|
|
|||
|
// AL ring modulator effect parameter ranges and defaults
|
|||
|
// AL_RING_MODULATOR_SINUSOID 0
|
|||
|
// AL_RING_MODULATOR_SAWTOOTH 1
|
|||
|
// AL_RING_MODULATOR_SQUARE 2
|
|||
|
|
|||
|
// AL vocal morpher effect parameter ranges and defaults
|
|||
|
// AL_VOCAL_MORPHER_WAVEFORM_SINUSOID 0
|
|||
|
// AL_VOCAL_MORPHER_WAVEFORM_TRIANGLE 1
|
|||
|
// AL_VOCAL_MORPHER_WAVEFORM_SAWTOOTH 2
|
|||
|
|
|||
|
// AL frequency shifter effect parameter ranges and defaults
|
|||
|
// AL_FREQUENCY_SHIFTER_DIRECTION_DOWN 0
|
|||
|
// AL_FREQUENCY_SHIFTER_DIRECTION_UP 1
|
|||
|
// AL_FREQUENCY_SHIFTER_DIRECTION_OFF 2
|
|||
|
|
|||
|
const string ALC_EXT_EFX_NAME = "ALC_EXT_EFX";
|
|||
|
|
|||
|
/**
|
|||
|
* Context definitions to be used with alcCreateContext.
|
|||
|
* These values must be unique and not conflict with other
|
|||
|
* al context values.
|
|||
|
*/
|
|||
|
public enum a : int
|
|||
|
{
|
|||
|
ALC_EFX_MAJOR_VERSION = 0x20001,
|
|||
|
ALC_EFX_MINOR_VERSION = 0x20002,
|
|||
|
ALC_MAX_AUXILIARY_SENDS = 0x20003,
|
|||
|
|
|||
|
|
|||
|
/* Listener definitions to be used with alListener functions.
|
|||
|
* These values must be unique and not conflict with other
|
|||
|
* al listener values.*/
|
|||
|
|
|||
|
///<summary>Range [float.MinValue .. float.MaxValue] Default: 1.0f</summary>
|
|||
|
AL_METERS_PER_UNIT = 0x20004,
|
|||
|
|
|||
|
|
|||
|
/**
|
|||
|
* Source definitions to be used with alSource functions.
|
|||
|
* These values must be unique and not conflict with other
|
|||
|
* al source values.
|
|||
|
*/
|
|||
|
///<summary>Range [ .. ] Default: </summary>
|
|||
|
AL_DIRECT_FILTER = 0x20005,
|
|||
|
///<summary>Range [ .. ] Default: </summary>
|
|||
|
AL_AUXILIARY_SEND_FILTER = 0x20006,
|
|||
|
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 0.0f</summary>
|
|||
|
AL_AIR_ABSORPTION_FACTOR = 0x20007,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 0.0f</summary>
|
|||
|
AL_ROOM_ROLLOFF_FACTOR = 0x20008,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_CONE_OUTER_GAINHF = 0x20009,
|
|||
|
///<summary>Range [AL_FALSE .. AL_TRUE] Default: AL_TRUE</summary>
|
|||
|
AL_DIRECT_FILTER_GAINHF_AUTO = 0x2000A,
|
|||
|
///<summary>Range [AL_FALSE .. AL_TRUE] Default: AL_TRUE</summary>
|
|||
|
AL_AUXILIARY_SEND_FILTER_GAIN_AUTO = 0x2000B,
|
|||
|
///<summary>Range [AL_FALSE .. AL_TRUE] Default: AL_TRUE</summary>
|
|||
|
AL_AUXILIARY_SEND_FILTER_GAINHF_AUTO = 0x2000C,
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Effect object definitions to be used with alEffect functions.
|
|||
|
*
|
|||
|
* Effect parameter value definitions, ranges, and defaults
|
|||
|
* appear farther down in this file.
|
|||
|
*/
|
|||
|
|
|||
|
/* Reverb Parameters */
|
|||
|
public enum AL_EFFECT_REVERB : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.1f</summary>
|
|||
|
AL_REVERB_DENSITY = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.1f</summary>
|
|||
|
AL_REVERB_DIFFUSION = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.32f</summary>
|
|||
|
AL_REVERB_GAIN = 0x0003,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.89f</summary>
|
|||
|
AL_REVERB_GAINHF = 0x0004,
|
|||
|
///<summary>Range [0.1f .. 20.0f] Default: 1.49f</summary>
|
|||
|
AL_REVERB_DECAY_TIME = 0x0005,
|
|||
|
///<summary>Range [0.1f .. 2.0f] Default: 0.83f</summary>
|
|||
|
AL_REVERB_DECAY_HFRATIO = 0x0006,
|
|||
|
///<summary>Range [0.0f .. 3.16f] Default: 0.05f</summary>
|
|||
|
AL_REVERB_REFLECTIONS_GAIN = 0x0007,
|
|||
|
///<summary>Range [0.0f .. 0.3f] Default: 0.007f</summary>
|
|||
|
AL_REVERB_REFLECTIONS_DELAY = 0x0008,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 1.26f</summary>
|
|||
|
AL_REVERB_LATE_REVERB_GAIN = 0x0009,
|
|||
|
///<summary>Range [0.0f .. 0.1f] Default: 0.011f</summary>
|
|||
|
AL_REVERB_LATE_REVERB_DELAY = 0x000A,
|
|||
|
///<summary>Range [0.892f .. 1.0f] Default: 0.994f</summary>
|
|||
|
AL_REVERB_AIR_ABSORPTION_GAINHF = 0x000B,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 0.0f</summary>
|
|||
|
AL_REVERB_ROOM_ROLLOFF_FACTOR = 0x000C,
|
|||
|
///<summary>Range [AL_FALSE .. AL_TRUE] Default: AL_TRUE</summary>
|
|||
|
AL_REVERB_DECAY_HFLIMIT = 0x000D,
|
|||
|
}
|
|||
|
|
|||
|
/* Chorus Parameters */
|
|||
|
public enum AL_EFFECT_CHORUS : int
|
|||
|
{
|
|||
|
///<summary>Range [0 .. 1] Default: 1</summary>
|
|||
|
AL_CHORUS_WAVEFORM = 0x0001,
|
|||
|
///<summary>Range [-180 .. 180] Default: 90</summary>
|
|||
|
AL_CHORUS_PHASE = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 1.1f</summary>
|
|||
|
AL_CHORUS_RATE = 0x0003,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.1f</summary>
|
|||
|
AL_CHORUS_DEPTH = 0x0004,
|
|||
|
///<summary>Range [-1.0f .. +1.0f] Default: +0.25f</summary>
|
|||
|
AL_CHORUS_FEEDBACK = 0x0005,
|
|||
|
///<summary>Range [0.0f .. 0.016f] Default: 0.016f</summary>
|
|||
|
AL_CHORUS_DELAY = 0x0006,
|
|||
|
}
|
|||
|
|
|||
|
/* Distortion Parameters */
|
|||
|
public enum AL_EFFECT_DISTORTION : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.2f</summary>
|
|||
|
AL_DISTORTION_EDGE = 0x0001,
|
|||
|
///<summary>Range [0.01f .. 1.0f] Default: 0.05f</summary>
|
|||
|
AL_DISTORTION_GAIN = 0x0002,
|
|||
|
///<summary>Range [80.0f .. 24000.0f] Default: 8000.0f</summary>
|
|||
|
AL_DISTORTION_LOWPASS_CUTOFF = 0x0003,
|
|||
|
///<summary>Range [80.0f .. 24000.0f] Default: 3600.0f</summary>
|
|||
|
AL_DISTORTION_EQCENTER = 0x0004,
|
|||
|
///<summary>Range [80.0f .. 24000.0f] Default: 3600.0f</summary>
|
|||
|
AL_DISTORTION_EQBANDWIDTH = 0x0005,
|
|||
|
}
|
|||
|
|
|||
|
/* Echo Parameters */
|
|||
|
public enum AL_EFFECT_ECHO : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 0.207f] Default: 0.1f</summary>
|
|||
|
AL_ECHO_DELAY = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 0.404f] Default: 0.1f</summary>
|
|||
|
AL_ECHO_LRDELAY = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 0.99f] Default: 0.5f</summary>
|
|||
|
AL_ECHO_DAMPING = 0x0003,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.5f</summary>
|
|||
|
AL_ECHO_FEEDBACK = 0x0004,
|
|||
|
///<summary>Range [-1.0f .. +1.0f] Default: -1.0f</summary>
|
|||
|
AL_ECHO_SPREAD = 0x0005,
|
|||
|
}
|
|||
|
|
|||
|
/* Flanger Parameters */
|
|||
|
public enum AL_EFFECT_FLANGER : int
|
|||
|
{
|
|||
|
///<summary>Range [0 .. 1] Default: 1</summary>
|
|||
|
AL_FLANGER_WAVEFORM = 0x0001,
|
|||
|
///<summary>Range [-180 .. +180] Default: 0</summary>
|
|||
|
AL_FLANGER_PHASE = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 0.27f</summary>
|
|||
|
AL_FLANGER_RATE = 0x0003,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_FLANGER_DEPTH = 0x0004,
|
|||
|
///<summary>Range [-1.0f .. +1.0f] Default: -0.5f</summary>
|
|||
|
AL_FLANGER_FEEDBACK = 0x0005,
|
|||
|
///<summary>Range [0.0f .. 0.004f] Default: 0.002f</summary>
|
|||
|
AL_FLANGER_DELAY = 0x0006,
|
|||
|
}
|
|||
|
|
|||
|
/* Frequencyshifter Parameters */
|
|||
|
public enum AL_EFFECT_FREQUENCY_SHIFTER : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 24000.0f] Default: 0.0f</summary>
|
|||
|
AL_FREQUENCY_SHIFTER_FREQUENCY = 0x0001,
|
|||
|
///<summary>Range [0 .. 2] Default: 0</summary>
|
|||
|
AL_FREQUENCY_SHIFTER_LEFT_DIRECTION = 0x0002,
|
|||
|
///<summary>Range [0 .. 2] Default: 0</summary>
|
|||
|
AL_FREQUENCY_SHIFTER_RIGHT_DIRECTION = 0x0003,
|
|||
|
}
|
|||
|
|
|||
|
/* Vocalmorpher Parameters */
|
|||
|
public enum AL_EFFECT_VOCAL_MORPHER : int
|
|||
|
{
|
|||
|
///<summary>Range [0 .. 92] Default: 0, AL_VOCAL_MORPHER_PHONEME_A</summary>
|
|||
|
AL_VOCAL_MORPHER_PHONEMEA = 0x0001,
|
|||
|
///<summary>Range [-24 .. +24] Default: 0</summary>
|
|||
|
AL_VOCAL_MORPHER_PHONEMEA_COARSE_TUNING = 0x0002,
|
|||
|
///<summary>Range [0 .. 29] Default: 10, AL_VOCAL_MORPHER_PHONEME_ER</summary>
|
|||
|
AL_VOCAL_MORPHER_PHONEMEB = 0x0003,
|
|||
|
///<summary>Range [-24 .. +24] Default: 0</summary>
|
|||
|
AL_VOCAL_MORPHER_PHONEMEB_COARSE_TUNING = 0x0004,
|
|||
|
///<summary>Range [0 .. 2] Default: 0</summary>
|
|||
|
AL_VOCAL_MORPHER_WAVEFORM = 0x0005,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 1.41f</summary>
|
|||
|
AL_VOCAL_MORPHER_RATE = 0x0006,
|
|||
|
}
|
|||
|
|
|||
|
// AL vocal morpher effect parameter ranges and defaults
|
|||
|
public enum FormantFilterSettings : int
|
|||
|
{
|
|||
|
AL_VOCAL_MORPHER_PHONEME_A = 0,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_E = 1,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_I = 2,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_O = 3,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_U = 4,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_AA = 5,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_AE = 6,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_AH = 7,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_AO = 8,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_EH = 9,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_ER = 10,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_IH = 11,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_IY = 12,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_UH = 13,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_UW = 14,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_B = 15,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_D = 16,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_F = 17,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_G = 18,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_J = 19,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_K = 20,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_L = 21,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_M = 22,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_N = 23,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_P = 24,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_R = 25,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_S = 26,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_T = 27,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_V = 28,
|
|||
|
AL_VOCAL_MORPHER_PHONEME_Z = 29,
|
|||
|
}
|
|||
|
|
|||
|
/* Pitchshifter Parameters */
|
|||
|
public enum AL_EFFECT_PITCH_SHIFTER : int
|
|||
|
{
|
|||
|
///<summary>Range [-12 .. +12] Default: +12</summary>
|
|||
|
AL_PITCH_SHIFTER_COARSE_TUNE = 0x0001,
|
|||
|
///<summary>Range [-50 .. +50] Default: 0</summary>
|
|||
|
AL_PITCH_SHIFTER_FINE_TUNE = 0x0002,
|
|||
|
}
|
|||
|
|
|||
|
/* Ringmodulator Parameters */
|
|||
|
public enum AL_EFFECT_RING_MODULATOR : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 8000.0f] Default: 440.0f</summary>
|
|||
|
AL_RING_MODULATOR_FREQUENCY = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 24000.0f] Default: 800.0f</summary>
|
|||
|
AL_RING_MODULATOR_HIGHPASS_CUTOFF = 0x0002,
|
|||
|
///<summary>Range [0 .. 2] Default: 0</summary>
|
|||
|
AL_RING_MODULATOR_WAVEFORM = 0x0003,
|
|||
|
}
|
|||
|
|
|||
|
/* Autowah Parameters */
|
|||
|
public enum AL_EFFECT_AUTOWAH
|
|||
|
{
|
|||
|
///<summary>Range [0.0001f .. 1.0f] Default: 0.06f</summary>
|
|||
|
AL_AUTOWAH_ATTACK_TIME = 0x0001,
|
|||
|
///<summary>Range [0.0001f .. 1.0f] Default: 0.06f</summary>
|
|||
|
AL_AUTOWAH_RELEASE_TIME = 0x0002,
|
|||
|
///<summary>Range [2.0f .. 1000.0f] Default: 1000.0f</summary>
|
|||
|
AL_AUTOWAH_RESONANCE = 0x0003,
|
|||
|
///<summary>Range [0.00003f .. 31621.0f] Default: 11.22f</summary>
|
|||
|
AL_AUTOWAH_PEAK_GAIN = 0x0004,
|
|||
|
}
|
|||
|
|
|||
|
/* Compressor Parameters */
|
|||
|
public enum AL_EFFECT_COMPRESSOR : int
|
|||
|
{
|
|||
|
///<summary>Range [0 .. 1] Default: 1</summary>
|
|||
|
AL_COMPRESSOR_ONOFF = 0x0001,
|
|||
|
}
|
|||
|
|
|||
|
/* Equalizer Parameters */
|
|||
|
public enum AL_EFFECT_EQUALIZER : int
|
|||
|
{
|
|||
|
///<summary>Range [0.126f .. 7.943f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_LOW_GAIN = 0x0001,
|
|||
|
///<summary>Range [50.0f .. 800.0f] Default: 200.0f</summary>
|
|||
|
AL_EQUALIZER_LOW_CUTOFF = 0x0002,
|
|||
|
///<summary>Range [0.126f .. 7.943f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_MID1_GAIN = 0x0003,
|
|||
|
///<summary>Range [200.0f .. 3000.0f] Default: 500.0f</summary>
|
|||
|
AL_EQUALIZER_MID1_CENTER = 0x0004,
|
|||
|
///<summary>Range [0.01f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_MID1_WIDTH = 0x0005,
|
|||
|
///<summary>Range [0.126f .. 7.943f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_MID2_GAIN = 0x0006,
|
|||
|
///<summary>Range [1000.0f .. 8000.0f] Default: 3000.0f</summary>
|
|||
|
AL_EQUALIZER_MID2_CENTER = 0x0007,
|
|||
|
///<summary>Range [0.01f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_MID2_WIDTH = 0x0008,
|
|||
|
///<summary>Range [0.126f .. 7.943f] Default: 1.0f</summary>
|
|||
|
AL_EQUALIZER_HIGH_GAIN = 0x0009,
|
|||
|
///<summary>Range [4000.0f .. 16000.0f] Default: 6000.0f</summary>
|
|||
|
AL_EQUALIZER_HIGH_CUTOFF = 0x000A,
|
|||
|
}
|
|||
|
|
|||
|
/* Effect type */
|
|||
|
public enum b : int
|
|||
|
{
|
|||
|
AL_EFFECT_FIRST_PARAMETER = 0x0000,
|
|||
|
AL_EFFECT_LAST_PARAMETER = 0x8000,
|
|||
|
AL_EFFECT_TYPE = 0x8001,
|
|||
|
|
|||
|
/* Effect type definitions to be used with AL_EFFECT_TYPE. */
|
|||
|
AL_EFFECT_NULL = 0x0000, /* Can also be used as an Effect Object ID */
|
|||
|
AL_EFFECT_REVERB = 0x0001,
|
|||
|
AL_EFFECT_CHORUS = 0x0002,
|
|||
|
AL_EFFECT_DISTORTION = 0x0003,
|
|||
|
AL_EFFECT_ECHO = 0x0004,
|
|||
|
AL_EFFECT_FLANGER = 0x0005,
|
|||
|
AL_EFFECT_FREQUENCY_SHIFTER = 0x0006,
|
|||
|
AL_EFFECT_VOCAL_MORPHER = 0x0007,
|
|||
|
AL_EFFECT_PITCH_SHIFTER = 0x0008,
|
|||
|
AL_EFFECT_RING_MODULATOR = 0x0009,
|
|||
|
AL_EFFECT_AUTOWAH = 0x000A,
|
|||
|
AL_EFFECT_COMPRESSOR = 0x000B,
|
|||
|
AL_EFFECT_EQUALIZER = 0x000C,
|
|||
|
|
|||
|
/**
|
|||
|
* Auxiliary Slot object definitions to be used with alAuxiliaryEffectSlot functions.
|
|||
|
*/
|
|||
|
AL_EFFECTSLOT_EFFECT = 0x0001,
|
|||
|
AL_EFFECTSLOT_GAIN = 0x0002,
|
|||
|
AL_EFFECTSLOT_AUXILIARY_SEND_AUTO = 0x0003,
|
|||
|
|
|||
|
// Value to be used as an Auxiliary Slot ID to disable a source send..
|
|||
|
|
|||
|
AL_EFFECTSLOT_NULL = 0x0000,
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
// Filter object definitions to be used with alFilter functions.
|
|||
|
public enum EfxFilterParameter : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_LOWPASS_GAIN = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_LOWPASS_GAINHF = 0x0002,
|
|||
|
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_HIGHPASS_GAIN = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_HIGHPASS_GAINLF = 0x0002,
|
|||
|
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_BANDPASS_GAIN = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_BANDPASS_GAINLF = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_BANDPASS_GAINHF = 0x0003,
|
|||
|
}
|
|||
|
public enum EfxFilterType : int
|
|||
|
{
|
|||
|
// Filter type
|
|||
|
AL_FILTER_FIRST_PARAMETER = 0x0000,
|
|||
|
AL_FILTER_LAST_PARAMETER = 0x8000,
|
|||
|
AL_FILTER_TYPE = 0x8001,
|
|||
|
|
|||
|
// Filter type definitions to be used with AL_FILTER_TYPE.
|
|||
|
AL_FILTER_NULL = 0x0000, // Can also be used as a Filter Object ID
|
|||
|
AL_FILTER_LOWPASS = 0x0001,
|
|||
|
AL_FILTER_HIGHPASS = 0x0002,
|
|||
|
AL_FILTER_BANDPASS = 0x0003,
|
|||
|
}
|
|||
|
|
|||
|
// Effect object definitions to be used with alEffect functions.
|
|||
|
|
|||
|
|
|||
|
// AL EAXReverb effect parameters.
|
|||
|
public enum EaxReverb : int
|
|||
|
{
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_EAXREVERB_DENSITY = 0x0001,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_EAXREVERB_DIFFUSION = 0x0002,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.32f</summary>
|
|||
|
AL_EAXREVERB_GAIN = 0x0003,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.89f</summary>
|
|||
|
AL_EAXREVERB_GAINHF = 0x0004,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 1.0f</summary>
|
|||
|
AL_EAXREVERB_GAINLF = 0x0005,
|
|||
|
///<summary>Range [0.1f .. 20.0f] Default: 1.49f</summary>
|
|||
|
AL_EAXREVERB_DECAY_TIME = 0x0006,
|
|||
|
///<summary>Range [0.1f .. 2.0f] Default: 0.83f</summary>
|
|||
|
AL_EAXREVERB_DECAY_HFRATIO = 0x0007,
|
|||
|
///<summary>Range [0.1f .. 2.0f] Default: 1.0f</summary>
|
|||
|
AL_EAXREVERB_DECAY_LFRATIO = 0x0008,
|
|||
|
///<summary>Range [0.0f .. 3.16f] Default: 0.05f</summary>
|
|||
|
AL_EAXREVERB_REFLECTIONS_GAIN = 0x0009,
|
|||
|
///<summary>Range [0.0f .. 0.3f] Default: 0.007f</summary>
|
|||
|
AL_EAXREVERB_REFLECTIONS_DELAY = 0x000A,
|
|||
|
/// <summary>Default: {0.0f, 0.0f, 0.0f}</summary>
|
|||
|
AL_EAXREVERB_REFLECTIONS_PAN = 0x000B,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 1.26f</summary>
|
|||
|
AL_EAXREVERB_LATE_REVERB_GAIN = 0x000C,
|
|||
|
///<summary>Range [0.0f .. 0.1f] Default: 0.011f</summary>
|
|||
|
AL_EAXREVERB_LATE_REVERB_DELAY = 0x000D,
|
|||
|
/// <summary>Default: {0.0f, 0.0f, 0.0f}</summary>
|
|||
|
AL_EAXREVERB_LATE_REVERB_PAN = 0x000E,
|
|||
|
///<summary>Range [0.075f .. 0.25f] Default: 0.25f</summary>
|
|||
|
AL_EAXREVERB_ECHO_TIME = 0x000F,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.0f</summary>
|
|||
|
AL_EAXREVERB_ECHO_DEPTH = 0x0010,
|
|||
|
///<summary>Range [0.04f .. 4.0f] Default: 0.25f</summary>
|
|||
|
AL_EAXREVERB_MODULATION_TIME = 0x0011,
|
|||
|
///<summary>Range [0.0f .. 1.0f] Default: 0.0f</summary>
|
|||
|
AL_EAXREVERB_MODULATION_DEPTH = 0x0012,
|
|||
|
///<summary>Range [0.892f .. 1.0f] Default: 0.994f</summary>
|
|||
|
AL_EAXREVERB_AIR_ABSORPTION_GAINHF = 0x0013,
|
|||
|
///<summary>Range [1000.0f .. 20000.0f] Default: 5000.0f</summary>
|
|||
|
AL_EAXREVERB_HFREFERENCE = 0x0014,
|
|||
|
///<summary>Range [20.0f .. 1000.0f] Default: 250.0f</summary>
|
|||
|
AL_EAXREVERB_LFREFERENCE = 0x0015,
|
|||
|
///<summary>Range [0.0f .. 10.0f] Default: 0.0f</summary>
|
|||
|
AL_EAXREVERB_ROOM_ROLLOFF_FACTOR = 0x0016,
|
|||
|
///<summary>Range [AL_FALSE .. AL_TRUE] Default: AL_TRUE</summary>
|
|||
|
AL_EAXREVERB_DECAY_HFLIMIT = 0x0017,
|
|||
|
}
|
|||
|
|
|||
|
// Effect type definitions to be used with AL_EFFECT_TYPE.
|
|||
|
public enum c : int
|
|||
|
{
|
|||
|
AL_EFFECT_EAXREVERB = 0x8000,
|
|||
|
}
|
|||
|
}
|
|||
|
}
|