internal VorbisEncoder(int channels, int sampleRate, float baseQuality) { SafeNativeMethods.VorbisInfoInit(_info); SafeNativeMethods.VorbisEncodeInitVbr(_info, channels, sampleRate, baseQuality); SafeNativeMethods.VorbisAnalysisInit(DspState, _info); SafeNativeMethods.VorbisBlockInit(DspState, _block); }