public EncoderInformation(AudioCodec Codec, int Bitrate, int SampleRate, int Channels, bool VBR) { this.Codec = Codec; this.Bitrate = Bitrate; this.SampleRate = SampleRate; this.Channels = Channels; this.VBR = VBR; this.QualityScale = 0; this.SampleSize = sizeof(short); }
public AudioEncoderStream(string Filename, AudioCodec Codec, int Bitrate, int SampleRate, int Channels, bool VBR) : this(Filename, new EncoderInformation(Codec, Bitrate, SampleRate, Channels, VBR)) { }