SoundUtility Class |
Namespace: FM.IceLink
The SoundUtility type exposes the following members.
Name | Description | |
---|---|---|
SoundUtility | Initializes a new instance of the SoundUtility class |
Name | Description | |
---|---|---|
CalculateDataLength(Int32, AudioConfig) |
Calculates the number of bytes in a given audio chunk
given its duration (ms), clock rate, and channel count.
| |
CalculateDataLength(Int32, Int32, Int32) |
Calculates the number of bytes in a given audio chunk
given its duration (ms), clock rate, and channel count.
| |
CalculateDataLengthFloat(Int32, AudioConfig) |
Calculates the number of bytes in a given audio chunk
given its duration (ms), clock rate, and channel count.
| |
CalculateDataLengthFloat(Int32, Int32, Int32) |
Calculates the number of bytes in a given audio chunk
given its duration (ms), clock rate, and channel count.
| |
CalculateDuration(Int32, AudioConfig) |
Calculates the duration of an audio chunk given its data
length (the number of bytes), clock rate, and channel count.
| |
CalculateDuration(Int32, Int32, Int32) |
Calculates the duration of an audio chunk given its data
length (the number of bytes), clock rate, and channel count.
| |
CalculateDurationFloat(Int32, AudioConfig) |
Calculates the duration of an audio chunk given its data
length (the number of bytes), clock rate, and channel count.
| |
CalculateDurationFloat(Int32, Int32, Int32) |
Calculates the duration of an audio chunk given its data
length (the number of bytes), clock rate, and channel count.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FloatFromShort |
Converts a short value to a floating-point value.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
MonoToStereo |
Converts each sample into two identical samples.
| |
ShortFromFloat |
Converts a floating-point value to a short value.
| |
StereoToMono |
Converts each pair of samples into one mixed sample.
| |
ToString | (Inherited from Object.) |