Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 16, 2024

Related issue: #30132, #29982

Description

After this PR #29982, the original sound was removed introducing an error when reusing the effect, fixed in this PR, but I think the original implementation is a little better because it does not need to reset the output buffer.

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.21
79.01
339.21
79.01
+0 B
+0 B
WebGPU 486.27
134.93
486.27
134.93
+0 B
+0 B
WebGPU Nodes 485.74
134.83
485.74
134.83
+0 B
+0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 465.1
112.07
465.1
112.07
+0 B
+0 B
WebGPU 555.42
150.35
555.42
150.35
+0 B
+0 B
WebGPU Nodes 511.34
140.12
511.34
140.12
+0 B
+0 B

@sunag sunag added this to the r172 milestone Dec 16, 2024
@sunag sunag marked this pull request as ready for review December 16, 2024 17:25
@sunag sunag merged commit faa6007 into mrdoob:dev Dec 16, 2024
12 checks passed
@sunag sunag deleted the dev-audio branch December 16, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant