Auto merge of #21674 - Manishearth:channel-count, r=ferjm

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 https://github.com/servo/media/pull/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 -->
This commit is contained in:
bors-servo 2018-09-12 19:11:03 -04:00 committed by GitHub
commit cd02ca6c19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 196 additions and 177 deletions

View file

@ -39,6 +39,8 @@ packages = [
"crossbeam-epoch",
"crossbeam-utils",
"log",
#TODO: remove num-rational when https://github.com/PistonDevelopers/image/pull/809 is merged.
"num-rational",
"rand",
"winapi",
# TODO: remove slab when #21426 lands