Beispiel #1
0
        // Token: 0x0600015A RID: 346 RVA: 0x00004610 File Offset: 0x00002810
        public static void OpusSetEncoderOption(IntPtr encoder, OpusControl option, int value)
        {
            OpusError opusError;

            if ((opusError = Interop._OpusEncoderControl(encoder, option, value)) != OpusError.Ok)
            {
                throw new Exception(string.Format("Could not set Opus encoder option: {0} ({1}).", opusError, (int)opusError));
            }
        }