Exemplo n.º 1
0
        internal void Wrote(int samples)
        {
            Result result = SafeNativeMethods.VorbisAnalysisWrote(_dspState, samples);

            if (result != Result.Ok)
            {
                throw new IOException(string.Format(CultureInfo.CurrentCulture,
                                                    Resources.NativeVorbisEncoderWroteError, result));
            }
        }