Propagate CanGc arguments through callers in constructors (#35541)

Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
Auguste Baum 2025-02-20 17:17:45 +01:00 committed by GitHub
parent 5465bfc2af
commit 863d2ce871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
260 changed files with 986 additions and 603 deletions

View file

@ -106,6 +106,7 @@ impl PannerNode {
options.position_x, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
let position_y = AudioParam::new(
window,
@ -117,6 +118,7 @@ impl PannerNode {
options.position_y, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
let position_z = AudioParam::new(
window,
@ -128,6 +130,7 @@ impl PannerNode {
options.position_z, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
let orientation_x = AudioParam::new(
window,
@ -139,6 +142,7 @@ impl PannerNode {
options.orientation_x, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
let orientation_y = AudioParam::new(
window,
@ -150,6 +154,7 @@ impl PannerNode {
options.orientation_y, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
let orientation_z = AudioParam::new(
window,
@ -161,6 +166,7 @@ impl PannerNode {
options.orientation_z, // default value
f32::MIN, // min value
f32::MAX, // max value
CanGc::note(),
);
Ok(PannerNode {
node,