Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Tone runing ExampleHost #10

Open
DerliFe opened this issue Jun 14, 2022 · 1 comment
Open

No Tone runing ExampleHost #10

DerliFe opened this issue Jun 14, 2022 · 1 comment

Comments

@DerliFe
Copy link

DerliFe commented Jun 14, 2022

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

@DerliFe
Copy link
Author

DerliFe commented Jun 15, 2022

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);
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant