commit c05beed6b89296febd969055c807135921765721
parent a50b8f5ed4eda4db8e3e62d6cad15834229f3212
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Fri, 7 Feb 2025 16:44:15 +0100
treat a dummy device as valid
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePluginLib/dummydevice.h b/source/jucePluginLib/dummydevice.h
@@ -10,7 +10,7 @@ namespace pluginLib
explicit DummyDevice(const synthLib::DeviceCreateParams& _params);
float getSamplerate() const override { return 44100.0f; }
- bool isValid() const override { return false; }
+ bool isValid() const override { return true; }
#if !SYNTHLIB_DEMO_MODE
bool getState(std::vector<uint8_t>& _state, synthLib::StateType _type) override { return false; }
bool setState(const std::vector<uint8_t>& _state, synthLib::StateType _type) override { return false; }