/// <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) { var info = new ASIOChannelInfo { channel = channelNumber, isInput = trueForInputInfo }; handleException(asioDriverVTable.getChannelInfo(pASIOComObject, ref info), "getChannelInfo"); return(info); }
/// <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> // Token: 0x060006E6 RID: 1766 RVA: 0x0001551C File Offset: 0x0001371C public ASIOChannelInfo getChannelInfo(int channelNumber, bool trueForInputInfo) { ASIOChannelInfo result = new ASIOChannelInfo { channel = channelNumber, isInput = trueForInputInfo }; this.handleException(this.asioDriverVTable.getChannelInfo(this.pASIOComObject, ref result), "getChannelInfo"); return(result); }
/// <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; }