mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Add spec link to AudioBuffer::Constructor
This commit is contained in:
parent
02aaf55cd3
commit
b7730da37d
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ impl AudioBuffer {
|
|||
reflect_dom_object(Box::new(buffer), global, AudioBufferBinding::Wrap)
|
||||
}
|
||||
|
||||
/// https://webaudio.github.io/web-audio-api/#dom-audiobuffer-audiobuffer
|
||||
pub fn Constructor(window: &Window,
|
||||
options: &AudioBufferOptions) -> Fallible<DomRoot<AudioBuffer>> {
|
||||
if options.numberOfChannels > MAX_CHANNEL_COUNT {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue