Search Results for

    Show / Hide Table of Contents

    Class ALAudioDevice

    Represents a audio output device.

    Inheritance
    object
    AudioDevice
    ALAudioDevice
    Implements
    IDisposable
    Inherited Members
    AudioDevice.MasterVolume
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.OpenAL
    Assembly: Evergine.OpenAL.dll
    Syntax
    public class ALAudioDevice : AudioDevice, IDisposable

    Constructors

    ALAudioDevice()

    Initializes a new instance of the ALAudioDevice class.

    Declaration
    public ALAudioDevice()

    Properties

    ContextHandle

    Gets the context handler of the device.

    Declaration
    public ContextHandle ContextHandle { get; }
    Property Value
    Type Description
    ContextHandle

    DefaultListener

    Gets the default listener used by Apply3D(AudioEmitter).

    Declaration
    public override AudioListener DefaultListener { get; }
    Property Value
    Type Description
    AudioListener
    Overrides
    AudioDevice.DefaultListener

    NativePointer

    Gets the native pointer of the device.

    Declaration
    public IntPtr NativePointer { get; }
    Property Value
    Type Description
    IntPtr

    Renderer

    Gets information about the specific renderer.

    Declaration
    public string Renderer { get; }
    Property Value
    Type Description
    string

    Vendor

    Gets the name of the vendor.

    Declaration
    public string Vendor { get; }
    Property Value
    Type Description
    string

    Version

    Gets the OpenAL version.

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    Methods

    CreateAudioBuffer()

    Creates an audio buffer.

    Declaration
    public override AudioBuffer CreateAudioBuffer()
    Returns
    Type Description
    AudioBuffer

    The result AudioBuffer object.

    Overrides
    AudioDevice.CreateAudioBuffer()

    CreateAudioSource(WaveFormat)

    Create a new AudioSource.

    Declaration
    public override AudioSource CreateAudioSource(WaveFormat format)
    Parameters
    Type Name Description
    WaveFormat format

    The format of the audio source.

    Returns
    Type Description
    AudioSource

    A new AudioSource instance.

    Overrides
    AudioDevice.CreateAudioSource(WaveFormat)

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    AudioDevice.Dispose()

    SetMasterVolume(float)

    Sets the master volume of the device.

    Declaration
    protected override void SetMasterVolume(float volume)
    Parameters
    Type Name Description
    float volume

    The new volume.

    Overrides
    AudioDevice.SetMasterVolume(float)

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX