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