Why does web_sys::AudioBuffer::copy_to_channel*
need a mutable buffer argument?
#2434
Labels
web_sys::AudioBuffer::copy_to_channel*
need a mutable buffer argument?
#2434
Summary
I hope this is the correct place to ask this. Currently I am slightly confused as to why the APIs
web_sys::AudioBuffer::copy_to_channel
https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.AudioBuffer.html#method.copy_to_channel
and
web_sys::AudioBuffer::copy_to_channel_with_start_in_channel
https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.AudioBuffer.html#method.copy_to_channel_with_start_in_channel
need their first argument (the source buffer to be copied from) to be mutable.
Additional Details
https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer/copyToChannel
The text was updated successfully, but these errors were encountered: