Example #1
0
        public int EncodingsFor(long rate, int channels)
        {
            int result = Out123NativeMethods.Encodings(handle, new IntPtr(rate), channels);

            if (result == -1)
            {
                throw new Out123.ErrorException(this);
            }
            return(result);
        }