예제 #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
파일: Asio.cs 프로젝트: alexbv16/LiveSPICE
 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;
 }