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