commit bbb47b1d6d29820e7e4aa135a05d46c1734291a2
parent 05318fff17ccfbf9a01feac5cd8c9f6f1fede347
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Mon, 19 Jul 2021 20:30:04 +0200
fix reporting wrong latency to host
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/synthLib/plugin.cpp b/source/synthLib/plugin.cpp
@@ -249,6 +249,6 @@ namespace synthLib
uint32_t Plugin::getLatencySamples() const
{
std::lock_guard lock(m_lock);
- return m_device->getLatencySamples();
+ return m_blockSize;
}
}