示例#1
0
 private ASIOChannelInfo[] GetChannels(int Count, bool Input)
 {
     ASIOChannelInfo[] channels = new ASIOChannelInfo[Count];
     for (int i = 0; i < channels.Length; ++i)
     {
         channels[i] = new ASIOChannelInfo()
         {
             channel = i, isInput = Input ? ASIOBool.True : ASIOBool.False
         };
         Try(vtbl.getChannelInfo(_this, ref channels[i]));
     }
     return(channels);
 }
示例#2
0
 public Channel(ASIOChannelInfo Info)
 {
     index = Info.channel;
     name  = Info.name;
     type  = Info.type;
 }
示例#3
0
 private ASIOChannelInfo[] GetChannels(int Count, bool Input)
 {
     ASIOChannelInfo[] channels = new ASIOChannelInfo[Count];
     for (int i = 0; i < channels.Length; ++i)
     {
         channels[i] = new ASIOChannelInfo() { channel = i, isInput = Input ? ASIOBool.True : ASIOBool.False };
         Try(vtbl.getChannelInfo(_this, ref channels[i]));
     }
     return channels;
 }