From 6ac30fac63342c54e13c73d28955ef382644c9e1 Mon Sep 17 00:00:00 2001 From: Jakob Schwab Date: Tue, 26 Jan 2021 10:16:32 +0100 Subject: [PATCH] Makes slice argument of `web_sys::AudioBuffer::copy_to_channel*` non mutable (#2434) --- crates/webidl/src/constants.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/webidl/src/constants.rs b/crates/webidl/src/constants.rs index 14e82a0e4f8..447e3e48d79 100644 --- a/crates/webidl/src/constants.rs +++ b/crates/webidl/src/constants.rs @@ -88,6 +88,8 @@ lazy_static! { "setBindGroup", "writeBuffer", "writeTexture", + // AudioBuffer + "copyToChannel" // TODO: Add another type's functions here. Leave a comment header with the type name ]); }