Example #1
0
 public ExampleHost() {
   List<String> driverNameList = JAsioHost.getDriverNames();
   asioDriver = JAsioHost.getAsioDriver(driverNameList.get(0));
   activeChannels = new HashSet<AsioChannelInfo>();
   activeChannels.add(asioDriver.getChannelInfoOutput(0));
   activeChannels.add(asioDriver.getChannelInfoOutput(1));
   asioDriver.addAsioDriverListener(this);
   sampleIndex = 0;
 }