Example #1
0
 public void start() {
   bufferSize = asioDriver.getBufferPreferredSize();
   sampleRate = asioDriver.getSampleRate();
   output = new float[bufferSize];
   asioDriver.createBuffers(activeChannels);
   asioDriver.start();
 }
Example #2
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;
 }
Example #3
0
 public void openControlPanel() {
   asioDriver.openControlPanel();
 }