mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
131 lines
7.1 KiB
C#
131 lines
7.1 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using static Brutal.OpenAlApi.Al.Constants;
|
|
|
|
namespace Brutal.OpenAlApi
|
|
{
|
|
public sealed unsafe partial class Efx
|
|
{
|
|
/// <summary>
|
|
/// Creates a <see cref="ReverbEffect"/> (<c>AL_EFFECT_REVERB</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public ReverbEffect CreateReverb() => new ReverbEffect(CreateEffectChecked(AL_EFFECT_REVERB));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="EaxReverbEffect"/> (<c>AL_EFFECT_EAXREVERB</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public EaxReverbEffect CreateEaxReverb() => new EaxReverbEffect(CreateEffectChecked(AL_EFFECT_EAXREVERB));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="ChorusEffect"/> (<c>AL_EFFECT_CHORUS</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public ChorusEffect CreateChorus() => new ChorusEffect(CreateEffectChecked(AL_EFFECT_CHORUS));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="DistortionEffect"/> (<c>AL_EFFECT_DISTORTION</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public DistortionEffect CreateDistortion() => new DistortionEffect(CreateEffectChecked(AL_EFFECT_DISTORTION));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="EchoEffect"/> (<c>AL_EFFECT_ECHO</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public EchoEffect CreateEcho() => new EchoEffect(CreateEffectChecked(AL_EFFECT_ECHO));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="FlangerEffect"/> (<c>AL_EFFECT_FLANGER</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public FlangerEffect CreateFlanger() => new FlangerEffect(CreateEffectChecked(AL_EFFECT_FLANGER));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="FrequencyShifterEffect"/> (<c>AL_EFFECT_FREQUENCY_SHIFTER</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public FrequencyShifterEffect CreateFrequencyShifter() =>
|
|
new FrequencyShifterEffect(CreateEffectChecked(AL_EFFECT_FREQUENCY_SHIFTER));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="VocalMorpherEffect"/> (<c>AL_EFFECT_VOCAL_MORPHER</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public VocalMorpherEffect CreateVocalMorpher() =>
|
|
new VocalMorpherEffect(CreateEffectChecked(AL_EFFECT_VOCAL_MORPHER));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="PitchShifterEffect"/> (<c>AL_EFFECT_PITCH_SHIFTER</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public PitchShifterEffect CreatePitchShifter() =>
|
|
new PitchShifterEffect(CreateEffectChecked(AL_EFFECT_PITCH_SHIFTER));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="RingModulatorEffect"/> (<c>AL_EFFECT_RING_MODULATOR</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public RingModulatorEffect CreateRingModulator() =>
|
|
new RingModulatorEffect(CreateEffectChecked(AL_EFFECT_RING_MODULATOR));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="AutowahEffect"/> (<c>AL_EFFECT_AUTOWAH</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public AutowahEffect CreateAutowah() => new AutowahEffect(CreateEffectChecked(AL_EFFECT_AUTOWAH));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="CompressorEffect"/> (<c>AL_EFFECT_COMPRESSOR</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public CompressorEffect CreateCompressor() => new CompressorEffect(CreateEffectChecked(AL_EFFECT_COMPRESSOR));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="EqualizerEffect"/> (<c>AL_EFFECT_EQUALIZER</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public EqualizerEffect CreateEqualizer() => new EqualizerEffect(CreateEffectChecked(AL_EFFECT_EQUALIZER));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="LowpassFilter"/> (<c>AL_FILTER_LOWPASS</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public LowpassFilter CreateLowpass() => new LowpassFilter(CreateFilterChecked(AL_FILTER_LOWPASS));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="HighpassFilter"/> (<c>AL_FILTER_HIGHPASS</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public HighpassFilter CreateHighpass() => new HighpassFilter(CreateFilterChecked(AL_FILTER_HIGHPASS));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="BandpassFilter"/> (<c>AL_FILTER_BANDPASS</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public BandpassFilter CreateBandpass() => new BandpassFilter(CreateFilterChecked(AL_FILTER_BANDPASS));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="DedicatedDialogueEffect"/> (<c>AL_EFFECT_DEDICATED_DIALOGUE</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public DedicatedDialogueEffect CreateDedicatedDialogue() =>
|
|
new DedicatedDialogueEffect(CreateEffectChecked(AL_EFFECT_DEDICATED_DIALOGUE));
|
|
|
|
/// <summary>
|
|
/// Creates a <see cref="DedicatedLowFrequencyEffect"/> (<c>AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation or type assignment failed; nothing is left behind.</exception>
|
|
public DedicatedLowFrequencyEffect CreateDedicatedLowFrequencyEffect() =>
|
|
new DedicatedLowFrequencyEffect(CreateEffectChecked(AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT));
|
|
|
|
/// <summary>
|
|
/// Creates an <see cref="AlAuxiliaryEffectSlot"/> (<c>alGenAuxiliaryEffectSlots</c>).
|
|
/// </summary>
|
|
/// <exception cref="AlException">Creation failed; nothing is left behind.</exception>
|
|
public AlAuxiliaryEffectSlot CreateAuxiliaryEffectSlot() => CreateSlotChecked();
|
|
}
|
|
}
|