internal VorbisEncoder(int channels, int sampleRate, int maxBitRate, int nominalBitRate, int minBitRate) { SafeNativeMethods.VorbisInfoInit(_info); SafeNativeMethods.VorbisEncodeInit(_info, channels, sampleRate, maxBitRate, nominalBitRate, minBitRate); SafeNativeMethods.VorbisAnalysisInit(DspState, _info); SafeNativeMethods.VorbisBlockInit(DspState, _block); }