Class AudioTrack
Defines configuration for an output audio track including codec, sample rate, channels, bitrate, and track-specific mixing settings.
public class AudioTrack
- Inheritance
-
AudioTrack
- Inherited Members
Constructors
AudioTrack()
public AudioTrack()
Properties
Bitrate
Gets or sets the audio bitrate in bits per second. Value of 0 means use default bitrate.
public int Bitrate { get; set; }
Property Value
Channels
Gets or sets the number of audio channels. Value of 0 means use source channel count.
public int Channels { get; set; }
Property Value
Codec
Gets or sets the audio codec for the output track.
public Codec Codec { get; set; }
Property Value
Index
Gets or sets the track index. Value of -1 indicates automatic index assignment.
public int Index { get; set; }
Property Value
Mixing
Gets or sets the track-specific mixing configuration that overrides the common mixing settings.
public AudioMixing Mixing { get; set; }
Property Value
SampleFormat
Gets or sets the audio sample format for the output track.
public SampleFormat SampleFormat { get; set; }
Property Value
SampleRate
Gets or sets the audio sample rate in Hz. Value of 0 means use source sample rate.
public int SampleRate { get; set; }