mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Upgrade to latest servo-media
This commit is contained in:
parent
66a9677538
commit
4b48cfa3ec
5 changed files with 26 additions and 15 deletions
|
@ -10,7 +10,6 @@ use dom::bindings::reflector::reflect_dom_object;
|
|||
use dom::bindings::root::DomRoot;
|
||||
use dom::globalscope::GlobalScope;
|
||||
use dom_struct::dom_struct;
|
||||
use servo_media::audio::node::AudioNodeInit;
|
||||
|
||||
#[dom_struct]
|
||||
pub struct AudioDestinationNode {
|
||||
|
@ -23,9 +22,8 @@ impl AudioDestinationNode {
|
|||
options: &AudioNodeOptions,
|
||||
) -> AudioDestinationNode {
|
||||
AudioDestinationNode {
|
||||
node: AudioNode::new_inherited(
|
||||
AudioNodeInit::DestinationNode,
|
||||
Some(context.destination_node()),
|
||||
node: AudioNode::new_inherited_for_id(
|
||||
context.destination_node(),
|
||||
context,
|
||||
options,
|
||||
1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue