MCPcopy Create free account
hub / github.com/FastLED/FastLED / ~WasmAudioImpl

Method ~WasmAudioImpl

src/platforms/wasm/ui_audio_wasm.cpp.hpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84WasmAudioImpl::~WasmAudioImpl() {
85 // Remove UI component from JSON UI system
86 removeJsonUiComponent(fl::weak_ptr<JsonUiInternal>(mInternal));
87
88 // Note: We don't stop or destroy the WasmAudioInput here because:
89 // 1. It's a global singleton that may be used by other components
90 // 2. JavaScript continues to push samples regardless of C++ lifecycle
91 // 3. The WasmAudioInput is cleaned up when the module unloads
92}
93
94audio::Sample WasmAudioImpl::next() {
95 if (!mWasmInput) {

Callers

nothing calls this directly

Calls 1

removeJsonUiComponentFunction · 0.85

Tested by

no test coverage detected