示例#1
0
        internal void Control(int request, IntPtr argument)
        {
            Result result = SafeNativeMethods.VorbisEncodeControl(_info, request, argument);

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