Exemplo n.º 1
0
        /// <summary>
        /// Gets the channel info.
        /// </summary>
        /// <param name="channelNumber">The channel number.</param>
        /// <param name="trueForInputInfo">if set to <c>true</c> [true for input info].</param>
        /// <returns></returns>
        public ASIOChannelInfo getChannelInfo(int channelNumber, bool trueForInputInfo)
        {
            ASIOChannelInfo info = new ASIOChannelInfo {
                channel = channelNumber, isInput = trueForInputInfo
            };

            handleException(asioDriverVTable.getChannelInfo(pASIOComObject, ref info), "getChannelInfo");
            return(info);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the channel info.
 /// </summary>
 /// <param name="channelNumber">The channel number.</param>
 /// <param name="trueForInputInfo">if set to <c>true</c> [true for input info].</param>
 /// <returns></returns>
 public ASIOChannelInfo getChannelInfo(int channelNumber, bool trueForInputInfo)
 {
     ASIOChannelInfo info = new ASIOChannelInfo {channel = channelNumber, isInput = trueForInputInfo};
     handleException(asioDriverVTable.getChannelInfo(pASIOComObject, ref info), "getChannelInfo");
     return info;
 }