File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ mod private {
31
31
}
32
32
33
33
pub fn render_audiobuffer ( self , buffer_size : usize ) -> AudioBuffer {
34
- self . 0 . render_audiobuffer ( buffer_size)
34
+ self . 0 . render_audiobuffer_sync ( buffer_size)
35
35
}
36
36
}
37
37
Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ impl RenderThread {
126
126
}
127
127
}
128
128
129
- // Render method of the `OfflineAudioContext::start_redering_sync `
129
+ // Render method of the `OfflineAudioContext::start_rendering_sync `
130
130
// This method is not spec compliant and obviously marked as synchronous, so we
131
131
// don't launch a thread.
132
132
//
133
133
// cf. https://webaudio.github.io/web-audio-api/#dom-offlineaudiocontext-startrendering
134
- pub fn render_audiobuffer ( mut self , length : usize ) -> AudioBuffer {
134
+ pub fn render_audiobuffer_sync ( mut self , length : usize ) -> AudioBuffer {
135
135
let options = AudioBufferOptions {
136
136
number_of_channels : self . number_of_channels ,
137
137
length,
You can’t perform that action at this time.
0 commit comments