jasiohost icon indicating copy to clipboard operation
jasiohost copied to clipboard

No Tone runing ExampleHost

Open DerliFe opened this issue 3 years ago • 1 comments

No Tone, After Lunching ExampleHost and hitting the Start Button. I only get a message from ASIO4ALL Icon indicating samples and frecuency.

DerliFe avatar Jun 14 '22 23:06 DerliFe

It's because ExampleHost is hard coding the channels index using only the first two, channels which in make case do nothing:

      activeChannels.add(asioDriver.getChannelOutput(0));
      activeChannels.add(asioDriver.getChannelOutput(1));

It should be:

      for (int i = 0; i < asioDriver.getNumChannelsOutput(); i++)
      {
    	  AsioChannel asioChannel = asioDriver.getChannelOutput(i);
    	  activeChannels.add(asioChannel);
      }

DerliFe avatar Jun 15 '22 01:06 DerliFe