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

Method WasmAudioImpl

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

Source from the content-addressed store, hash-verified

40}
41
42WasmAudioImpl::WasmAudioImpl(const fl::string& name)
43 : mName(name)
44 , mWasmInput(nullptr)
45 , mOwnsInput(false)
46{
47 // Create UI component for JSON UI system
48 mInternal = fl::make_shared<JsonUiAudioInternal>(name);
49 addJsonUiComponent(fl::weak_ptr<JsonUiInternal>(mInternal));
50
51 // Initialize WASM audio input
52 initWasmAudio(name.c_str(), mWasmInput, mWasmInputOwner, mOwnsInput);
53}
54
55WasmAudioImpl::WasmAudioImpl(const fl::string& name, const fl::url& url)
56 : mName(name)

Callers

nothing calls this directly

Calls 3

addJsonUiComponentFunction · 0.85
initWasmAudioFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected