Class AudioDataInfo
Meta-data describing a chunk of audio.
Inheritance
System.Object
AudioDataInfo
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class AudioDataInfo : ValueType
Fields
BitDepth
The number of bits per sample.
Declaration
public uint BitDepth
Field Value
System.UInt32
|
NumChannels
The number of channels. Each channel has its own set of samples.
Declaration
public uint NumChannels
Field Value
System.UInt32
|
NumSamples
The total number of audio samples in the audio data (includes all channels).
Declaration
public uint NumSamples
Field Value
System.UInt32
|
SampleRate
The number of audio samples per second, per channel.
Declaration
public uint SampleRate
Field Value
System.UInt32
|
Properties
Length
Gets the length of the audio data (in seconds).
Declaration
public float Length { get; }
Property Value
System.Single
|