gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit bace2cb1ddadcefff962b45c948f5f16b7de619b
parent 82d053784170a561173c4016c3f091d769436f90
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Mon, 27 Jan 2025 00:35:01 +0100

use SPSC semaphore which is faster

Diffstat:
Msource/virusConsoleLib/consoleApp.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/virusConsoleLib/consoleApp.cpp b/source/virusConsoleLib/consoleApp.cpp @@ -231,7 +231,7 @@ void ConsoleApp::run(const std::string& _audioOutputFilename, uint32_t _maxSampl const uint32_t notifyThreshold = blockSize > 4 ? blockSize - 4 : 0; uint32_t callbackCount = 0; - dsp56k::Semaphore sem(1); + dsp56k::SpscSemaphore sem(1); auto& esai = m_dsp1->getAudio(); int32_t notifyTimeout = 0;