mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
203 lines
6.3 KiB
C#
203 lines
6.3 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.Params
|
|
{
|
|
/// <summary>
|
|
/// A float-valued <c>alSourcef</c> source property key.
|
|
/// </summary>
|
|
public enum AlSourcef
|
|
{
|
|
/// <summary>
|
|
/// Source or listener gain.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// For sources, an initial linear gain value (before attenuation is applied). For the listener, an output
|
|
/// linear gain adjustment.
|
|
/// </para>
|
|
/// <para>
|
|
/// A value of 1.0 means unattenuated. Each division by 2 equals an attenuation of about -6dB. Each
|
|
/// multiplication by 2 equals an amplification of about +6dB.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; minimum 0.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
Gain = AL_GAIN,
|
|
|
|
/// <summary>
|
|
/// Source pitch.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// A multiplier for the sample rate of the source's buffer.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; range 0.5 to 2.0; default 1.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
Pitch = AL_PITCH,
|
|
|
|
/// <summary>
|
|
/// Minimum source gain.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The minimum gain allowed for a source, after distance and cone attenuation are applied (if applicable).
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; range 0.0 to 1.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
MinGain = AL_MIN_GAIN,
|
|
|
|
/// <summary>
|
|
/// Maximum source gain.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The maximum gain allowed for a source, after distance and cone attenuation are applied (if applicable).
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; range 0.0 to 1.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
MaxGain = AL_MAX_GAIN,
|
|
|
|
/// <summary>
|
|
/// Source maximum distance.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The distance above which the source is not attenuated any further with a clamped distance model, or
|
|
/// where attenuation reaches 0.0 gain for linear distance models with a default rolloff factor.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; minimum 0.0; default <c>FLT_MAX</c>.
|
|
/// </para>
|
|
/// </remarks>
|
|
MaxDistance = AL_MAX_DISTANCE,
|
|
|
|
/// <summary>
|
|
/// Source rolloff factor.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Multiplier to exaggerate or diminish distance attenuation.
|
|
/// </para>
|
|
/// <para>
|
|
/// At 0.0, no distance attenuation ever occurs.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; minimum 0.0; default 1.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
RolloffFactor = AL_ROLLOFF_FACTOR,
|
|
|
|
/// <summary>
|
|
/// Source reference distance.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The distance in units that no distance attenuation occurs.
|
|
/// </para>
|
|
/// <para>
|
|
/// At 0.0, no distance attenuation occurs with non-linear attenuation models.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; minimum 0.0; default 1.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
ReferenceDistance = AL_REFERENCE_DISTANCE,
|
|
|
|
/// <summary>
|
|
/// Outer cone gain.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The gain attenuation applied when the listener is outside of the source's outer cone angle.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>; range 0.0 to 1.0; default 0.0.
|
|
/// </para>
|
|
/// </remarks>
|
|
ConeOuterGain = AL_CONE_OUTER_GAIN,
|
|
|
|
/// <summary>
|
|
/// Inner cone angle, in degrees.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The angle covered by the inner cone, the area within which the source will not be attenuated by
|
|
/// direction.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALint</c>/<c>ALfloat</c>; range 0 to 360; default 360.
|
|
/// </para>
|
|
/// </remarks>
|
|
ConeInnerAngle = AL_CONE_INNER_ANGLE,
|
|
|
|
/// <summary>
|
|
/// Outer cone angle, in degrees.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The angle covered by the outer cone, the area outside of which the source will be fully attenuated by
|
|
/// direction.
|
|
/// </para>
|
|
/// <para>
|
|
/// Type <c>ALint</c>/<c>ALfloat</c>; range 0 to 360; default 360.
|
|
/// </para>
|
|
/// </remarks>
|
|
ConeOuterAngle = AL_CONE_OUTER_ANGLE,
|
|
|
|
/// <summary>
|
|
/// Source buffer offset, in seconds.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Type <c>ALfloat</c>/<c>ALint</c>; minimum 0.
|
|
/// </para>
|
|
/// </remarks>
|
|
SecOffset = AL_SEC_OFFSET,
|
|
|
|
/// <summary>
|
|
/// Source buffer offset, in sample frames.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Type <c>ALint</c>; minimum 0.
|
|
/// </para>
|
|
/// </remarks>
|
|
SampleOffset = AL_SAMPLE_OFFSET,
|
|
|
|
/// <summary>
|
|
/// Source buffer offset, in bytes.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Type <c>ALint</c>; minimum 0.
|
|
/// </para>
|
|
/// </remarks>
|
|
ByteOffset = AL_BYTE_OFFSET,
|
|
|
|
/// <summary>
|
|
/// Type <c>ALfloat</c>.
|
|
/// </summary>
|
|
SourceRadius = AL_SOURCE_RADIUS,
|
|
|
|
/// <summary>
|
|
/// Type <c>ALfloat</c>; range 0.0 to 1.0.
|
|
/// </summary>
|
|
SuperStereoWidth = AL_SUPER_STEREO_WIDTH_SOFT,
|
|
|
|
/// <summary>
|
|
/// Type <c>ALfloat</c>.
|
|
/// </summary>
|
|
SecLength = AL_SEC_LENGTH_SOFT,
|
|
}
|
|
}
|