Struct Pcm16AudioAsset
Assembly: Glitch9.IO.dll
Syntax
public readonly struct Pcm16AudioAsset : IAudioAsset, IAudioChunk
Constructors
|
Edit this page
View Source
Pcm16AudioAsset(float[], int, int, string)
Declaration
public Pcm16AudioAsset(float[] samples, int sampleRate, int channels, string name = "unnamed_pcm16_audio")
Parameters
Properties
|
Edit this page
View Source
Channels
Declaration
public int Channels { get; }
Property Value
|
Edit this page
View Source
Encoding
Declaration
public AudioEncoding Encoding { get; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
SampleRate
Declaration
public int SampleRate { get; }
Property Value
|
Edit this page
View Source
Samples
Declaration
public float[] Samples { get; }
Property Value
Implements
Extension Methods