|
IAudioDecoderDecode Method (Int32, Int32)
|
Decode a number of frames.
Namespace:
Accord.Audio.Formats
Assembly:
Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax Signal Decode(
int index,
int frames
)
Function Decode (
index As Integer,
frames As Integer
) As Signal
Request Example
View SourceParameters
- index
- Type: SystemInt32
Audio frame index to start decoding. - frames
- Type: SystemInt32
The number of frames to decode.
Return Value
Type:
SignalReturns the decoded signal.
Remarks Implementations of this method may throw
NullReferenceException exception in the case if no audio
stream was opened previously, ArgumentOutOfRangeException in the
case if stream does not contain frame with specified index or ArgumentException
exception to report about incorrectly formatted audio.
See Also