Skip to content

i/o configuration #3

Description

@wrl

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions