mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
AudioNode channel related properties getter and setter fixes
This commit is contained in:
parent
abccf68a47
commit
758ae94aa1
2 changed files with 73 additions and 0 deletions
|
@ -112,6 +112,11 @@ impl BaseAudioContext {
|
|||
context
|
||||
}
|
||||
|
||||
/// Tells whether this is an OfflineAudioContext or not.
|
||||
pub fn is_offline(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
pub fn audio_context_impl(&self) -> Rc<AudioContext> {
|
||||
self.audio_context_impl.clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue