Search Results for

    Show / Hide Table of Contents

    Class ALAudioBuffer

    The Audio Buffer class.

    Inheritance
    object
    AudioBuffer
    ALAudioBuffer
    Implements
    ILoadable
    IDependencyObject
    IDisposable
    Inherited Members
    AudioBuffer.Id
    AudioBuffer.ReaderVersion
    AudioBuffer.Invalidated
    AudioBuffer.Dependencies
    AudioBuffer.State
    AudioBuffer.Length
    AudioBuffer.Format
    AudioBuffer.Duration
    AudioBuffer.SampleCount
    AudioBuffer.FillAsync(Stream, int, WaveFormat)
    AudioBuffer.Fill(Stream, int, WaveFormat)
    AudioBuffer.Fill<TBuffer>(TBuffer[], int, int, WaveFormat)
    AudioBuffer.Invalidate(ILoadable)
    AudioBuffer.ReleaseUnusedMemory()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.OpenAL
    Assembly: Evergine.OpenAL.dll
    Syntax
    public class ALAudioBuffer : AudioBuffer, ILoadable, IDependencyObject, IDisposable

    Constructors

    ALAudioBuffer()

    Initializes a new instance of the ALAudioBuffer class.

    Declaration
    public ALAudioBuffer()

    Properties

    BufferId

    Gets the id of the OpenAL audio buffer.

    Declaration
    public int BufferId { get; }
    Property Value
    Type Description
    int

    Methods

    Dispose()

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

    InternalFill(Stream, int)

    Fills the audio buffer with a specific stream.

    Declaration
    protected override void InternalFill(Stream stream, int bufferSize)
    Parameters
    Type Name Description
    Stream stream

    The source stream.

    int bufferSize

    The buffer size.

    Overrides
    AudioBuffer.InternalFill(Stream, int)

    InternalFillAsync(Stream, int)

    Fills the audio buffer with a specific stream.

    Declaration
    protected override Task InternalFillAsync(Stream stream, int bufferSize)
    Parameters
    Type Name Description
    Stream stream

    The source stream.

    int bufferSize

    The buffer size.

    Returns
    Type Description
    Task

    Awaitable task of the operation.

    Overrides
    AudioBuffer.InternalFillAsync(Stream, int)

    InternalFill<TBuffer>(TBuffer[], int, int)

    Fills the audio buffer with a specific buffer.

    Declaration
    protected override void InternalFill<TBuffer>(TBuffer[] buffer, int offset, int count) where TBuffer : struct
    Parameters
    Type Name Description
    TBuffer[] buffer

    The source buffer.

    int offset

    The source offset.

    int count

    The number of elements to be copied.

    Type Parameters
    Name Description
    TBuffer

    The type of the buffer data.

    Overrides
    AudioBuffer.InternalFill<TBuffer>(TBuffer[], int, int)

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ILoadable
    IDependencyObject
    IDisposable

    Extension Methods

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