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

Add support for connecting nodes to params #89

Merged
merged 4 commits into from
Jul 19, 2018
Merged

Conversation

Manishearth
Copy link
Member

Since the AudioListener stuff is in flux I figured I'd get this out of the way. Was pretty straightforward.

Todo: Fill in disconnect() impls for this

r? @ferjm

This adds all the types for param indexed inputs, and makes everything
work with them, but doesn't actually do anything with connections to
such inputs.
Copy link
Contributor

@ferjm ferjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

There is a git merge leftover though: examples/Cargo.toml.orig

@@ -0,0 +1,42 @@
[package]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops :)

// we ensure that the PortIndex enum has zero overhead for outputs,
// taking up no extra discriminant space and eliminating PortIndex::Param
// branches entirely from the compiled code
type ParamId = !;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/me learns about never types

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

Successfully merging this pull request may close these issues.

2 participants