Click or drag to resize
Accord.NET (logo)

IAudioEncoderEncode Method

Encode all frames.

Namespace:  Accord.Audio.Formats
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
void Encode(
	Signal signal
)
Request Example View Source

Parameters

signal
Type: Accord.AudioSignal

Return Value

Type: 
Returns the encoded 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