| 40 | } |
| 41 | |
| 42 | WasmAudioImpl::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 | |
| 55 | WasmAudioImpl::WasmAudioImpl(const fl::string& name, const fl::url& url) |
| 56 | : mName(name) |
nothing calls this directly
no test coverage detected