Search Results for

    Show / Hide Table of Contents

    Class AudioStreamState

    Inheritance
    object
    AudioStreamState
    Implements
    IEmptiable
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public sealed class AudioStreamState : IEmptiable, IDisposable

    Properties

    | Edit this page View Source

    Buffer

    Declaration
    public float[] Buffer { get; }
    Property Value
    Type Description
    float[]
    | Edit this page View Source

    Channels

    Declaration
    public int Channels { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    FormatInitialized

    Declaration
    public bool FormatInitialized { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsEmpty

    Gets whether this object is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInitialized

    Declaration
    public bool IsInitialized { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    SampleRate

    Declaration
    public int SampleRate { get; set; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Append(ReadOnlySpan<float>)

    Declaration
    public void Append(ReadOnlySpan<float> samples)
    Parameters
    Type Name Description
    ReadOnlySpan<float> samples
    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page View Source

    Initialize(int, bool)

    Declaration
    public void Initialize(int initialCapacitySamples = 8192, bool useArrayPool = true)
    Parameters
    Type Name Description
    int initialCapacitySamples
    bool useArrayPool

    Implements

    IEmptiable
    IDisposable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.TryDispose(IDisposable)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation