Interface IAudioDecoder
Represents an audio decoder providing access to various properties of the audio stream being decoded.
Inherited Members
Namespace: FFmpeg.Codecs
Assembly: FFmpeg.dll
Syntax
public interface IAudioDecoder : IDecoderContext, IDisposable, IOptionQueryable
Properties
View SourceAudioServiceType
Gets the type of service that the audio stream conveys, as determined by the decoder during decoding.
Declaration
AudioServiceType AudioServiceType { get; }
Property Value
| Type | Description |
|---|---|
| AudioServiceType |
ChannelLayout
Gets the audio channel layout, which may be set by the caller if known, such as from the container. The decoder can override this during decoding if necessary.
Declaration
ChannelLayout_ref ChannelLayout { get; }
Property Value
| Type | Description |
|---|---|
| ChannelLayout_ref |
SampleFormat
Gets the audio sample format, which is set by the decoder during the decoding process.
Declaration
SampleFormat SampleFormat { get; }
Property Value
| Type | Description |
|---|---|
| SampleFormat |
SampleRate
Gets the sample rate, representing the number of audio samples per second.
Declaration
int SampleRate { get; }
Property Value
| Type | Description |
|---|---|
| int |