示例#1
0
        internal void AddBlock()
        {
            Result result = SafeNativeMethods.VorbisBitrateAddBlock(_block);

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