diff options
Diffstat (limited to 'components/script/dom/audiobuffer.rs')
-rw-r--r-- | components/script/dom/audiobuffer.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/audiobuffer.rs b/components/script/dom/audiobuffer.rs index 1cbba52aed7..3dfa2d0a25a 100644 --- a/components/script/dom/audiobuffer.rs +++ b/components/script/dom/audiobuffer.rs @@ -34,7 +34,7 @@ pub const MAX_SAMPLE_RATE: f32 = 192000.; /// /// js_channels buffers are (re)attached right before calling GetChannelData /// and remain attached until its contents are needed by some other API -/// implementation. Follow https://webaudio.github.io/web-audio-api/#acquire-the-content +/// implementation. Follow <https://webaudio.github.io/web-audio-api/#acquire-the-content> /// to know in which situations js_channels buffers must be detached. /// #[dom_struct] @@ -48,13 +48,13 @@ pub struct AudioBuffer { #[ignore_malloc_size_of = "servo_media"] #[no_trace] shared_channels: DomRefCell<Option<ServoMediaAudioBuffer>>, - /// https://webaudio.github.io/web-audio-api/#dom-audiobuffer-samplerate + /// <https://webaudio.github.io/web-audio-api/#dom-audiobuffer-samplerate> sample_rate: f32, - /// https://webaudio.github.io/web-audio-api/#dom-audiobuffer-length + /// <https://webaudio.github.io/web-audio-api/#dom-audiobuffer-length> length: u32, - /// https://webaudio.github.io/web-audio-api/#dom-audiobuffer-duration + /// <https://webaudio.github.io/web-audio-api/#dom-audiobuffer-duration> duration: f64, - /// https://webaudio.github.io/web-audio-api/#dom-audiobuffer-numberofchannels + /// <https://webaudio.github.io/web-audio-api/#dom-audiobuffer-numberofchannels> number_of_channels: u32, } |