mirror of
https://github.com/servo/servo.git
synced 2025-07-18 04:43:41 +01:00
Update to use latest servo-media
This commit is contained in:
parent
53d4933a40
commit
4602951656
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ impl BaseAudioContext {
|
||||||
) -> BaseAudioContext {
|
) -> BaseAudioContext {
|
||||||
let mut context = BaseAudioContext {
|
let mut context = BaseAudioContext {
|
||||||
reflector_: Reflector::new(),
|
reflector_: Reflector::new(),
|
||||||
audio_graph: ServoMedia::get().unwrap().create_audio_graph().unwrap(),
|
audio_graph: ServoMedia::get().unwrap().create_audio_graph(),
|
||||||
destination: None,
|
destination: None,
|
||||||
current_time: 0.,
|
current_time: 0.,
|
||||||
sample_rate,
|
sample_rate,
|
||||||
|
|
|
@ -80,7 +80,7 @@ use offscreen_gl_context::GLLimits;
|
||||||
use parking_lot::RwLock;
|
use parking_lot::RwLock;
|
||||||
use profile_traits::mem::ProfilerChan as MemProfilerChan;
|
use profile_traits::mem::ProfilerChan as MemProfilerChan;
|
||||||
use profile_traits::time::ProfilerChan as TimeProfilerChan;
|
use profile_traits::time::ProfilerChan as TimeProfilerChan;
|
||||||
use servo_media::AudioGraph;
|
use servo_media::audio::graph::AudioGraph;
|
||||||
use script_layout_interface::OpaqueStyleAndLayoutData;
|
use script_layout_interface::OpaqueStyleAndLayoutData;
|
||||||
use script_layout_interface::reporter::CSSErrorReporter;
|
use script_layout_interface::reporter::CSSErrorReporter;
|
||||||
use script_layout_interface::rpc::LayoutRPC;
|
use script_layout_interface::rpc::LayoutRPC;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue