コード例 #1
0
ファイル: Out123.cs プロジェクト: fdefelici/aiv-mpg123
        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);
        }