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

CLAP_EXT_AUDIO_PORTS is ignored #20

Open
Bremmers opened this issue Jul 4, 2022 · 1 comment
Open

CLAP_EXT_AUDIO_PORTS is ignored #20

Bremmers opened this issue Jul 4, 2022 · 1 comment

Comments

@Bremmers
Copy link

Bremmers commented Jul 4, 2022

clap-host always provides audio input and output ports. This isn't as per the specs: a plugin that doesn't implement CLAP_EXT_AUDIO_PORTS has zero audio ports.

This leads to problems if plugin developers use clap-host for testing their plugins.

This code from PluginHost::process() is the problem:

_process.audio_inputs = &_audioIn;
_process.audio_inputs_count = 1;
_process.audio_outputs = &_audioOut;
_process.audio_outputs_count = 1;

@sagantech
Copy link

It would be nice if the example host showed how to support multiple outputs and bus configurations as well since this is not so obvious.

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

2 participants