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

Pass down ChannelInfo for nodes #124

Merged
merged 2 commits into from Sep 11, 2018
Merged

Pass down ChannelInfo for nodes #124

merged 2 commits into from Sep 11, 2018

Conversation

@Manishearth
Copy link
Member

Manishearth commented Sep 11, 2018

The constructors get to set these. Many nodes have additional constraints but these constraints are implemented by the DOM.

r? @ferjm

@ferjm
ferjm approved these changes Sep 11, 2018
Copy link
Member

ferjm left a comment

Looks good. Thanks!

@Manishearth Manishearth merged commit dde50e2 into master Sep 11, 2018
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
bors-servo added a commit to servo/servo that referenced this pull request Sep 12, 2018
Pass through channel settings in AudioNode constructor

Most audionodes let you pass in channel count/etc settings in their
constructors, and have different defaults. Using the `create_node`
argument added in servo/media#124 , this passes
that information through.

r? @ferjm.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21674)
<!-- Reviewable:end -->
bors-servo added a commit to servo/servo that referenced this pull request Sep 12, 2018
Pass through channel settings in AudioNode constructor

Most audionodes let you pass in channel count/etc settings in their
constructors, and have different defaults. Using the `create_node`
argument added in servo/media#124 , this passes
that information through.

r? @ferjm.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21674)
<!-- Reviewable:end -->
@ferjm ferjm deleted the channel-ctor branch Sep 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.