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

i/o configuration #3

Open
wrl opened this issue Aug 19, 2020 · 1 comment
Open

i/o configuration #3

wrl opened this issue Aug 19, 2020 · 1 comment

Comments

@wrl
Copy link
Owner

wrl commented Aug 19, 2020

right now, i/o is fixed at stereo in, stereo out. this should be configurable somehow.

imo, MVP on this is a fixed channel count defined in the Plugin impl block, eg:

impl Plugin for Gain {
    const NAME: &'static str = "basic gain plug";
    const PRODUCT: &'static str = "basic gain plug";
    const VENDOR: &'static str = "spicy plugins & co";

    const INPUT_CHANNELS: usize = 2;
    const OUTPUT_CHANNELS: usize = 2;
    const MIDI_INPUT: bool = false;

    type Model = GainModel;

vst2 only supports fixed i/o configuration like this, but formats like auv2 have significantly more flexible methods. punting on this for the future.

@wrl
Copy link
Owner Author

wrl commented Aug 21, 2020

phase 1 (fixed i/o channel counts) done in 0ff0934

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

No branches or pull requests

1 participant