Class AudioStreamState
Inheritance
AudioStreamState
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
|
Edit this page
View Source
Channels
Declaration
public int Channels { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public bool FormatInitialized { get; }
Property Value
|
Edit this page
View Source
IsEmpty
Gets whether this object is empty.
Declaration
public bool IsEmpty { get; }
Property Value
|
Edit this page
View Source
IsInitialized
Declaration
public bool IsInitialized { get; }
Property Value
|
Edit this page
View Source
Length
Declaration
public int Length { get; }
Property Value
|
Edit this page
View Source
SampleRate
Declaration
public int SampleRate { get; set; }
Property Value
Methods
|
Edit this page
View Source
Append(ReadOnlySpan<float>)
Declaration
public void Append(ReadOnlySpan<float> samples)
Parameters
|
Edit this page
View Source
Dispose()
Declaration
|
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
Extension Methods