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

Add support for connecting nodes to params #89

merged 4 commits into from Jul 19, 2018

Conversation

@Manishearth
Copy link
Member

Manishearth commented Jul 19, 2018

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

Manishearth added 2 commits Jul 18, 2018
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.
@Manishearth Manishearth force-pushed the param-connect branch from 9fea0fc to 9682592 Jul 19, 2018
@ferjm
ferjm approved these changes Jul 19, 2018
Copy link
Member

ferjm left a comment

Nice!

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

@@ -0,0 +1,42 @@
[package]

This comment has been minimized.

@ferjm

ferjm Jul 19, 2018

Member

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 = !;

This comment has been minimized.

@ferjm

ferjm Jul 19, 2018

Member

/me learns about never types

@Manishearth Manishearth force-pushed the param-connect branch from 9296a47 to eeac674 Jul 19, 2018
@Manishearth Manishearth merged commit 51f69d1 into master Jul 19, 2018
@Manishearth Manishearth deleted the param-connect branch Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.