commit af4d2b0f6334b0f311674da9288aa746adbbc907 parent 3849cd7b0e4854dc4066d70366671aa15b68dfab Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Thu, 10 Feb 2022 20:44:31 +0100 fix device latency not initialized in constructor Diffstat:
M | source/synthLib/plugin.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/synthLib/plugin.cpp b/source/synthLib/plugin.cpp @@ -11,7 +11,7 @@ namespace synthLib { constexpr uint8_t g_stateVersion = 1; - Plugin::Plugin(Device* _device) : m_device(_device) + Plugin::Plugin(Device* _device) : m_device(_device), m_deviceLatency(0) { m_resampler.setDeviceSamplerate(_device->getSamplerate()); }