diff --git a/Makefile b/Makefile index 05de621..d09258f 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ CCADMIN=CCadmin # build build: .build-post + cp ${CND_ARTIFACT_PATH_${CONF}} "/c/Program Files (x86)/Steinberg/VSTPlugins/JaySynth.dll" .build-pre: # Add your pre 'build' code here... @@ -89,7 +90,6 @@ all: .all-post .all-post: .all-impl # Add your post 'all' code here... - # build tests build-tests: .build-tests-post diff --git a/Source/ButtonLED.cpp b/Source/ButtonLED.cpp index b167102..66999b7 100644 --- a/Source/ButtonLED.cpp +++ b/Source/ButtonLED.cpp @@ -174,7 +174,7 @@ void ButtonLED::clicked(const ModifierKeys &modifiers) return; if (clickingTogglesState) - setToggleState(!state, false); + setToggleState(!state, juce::NotificationType::dontSendNotification); } diff --git a/Source/JaySynth.cpp b/Source/JaySynth.cpp index f471701..3bc8942 100644 --- a/Source/JaySynth.cpp +++ b/Source/JaySynth.cpp @@ -903,8 +903,8 @@ void JaySynth::renderNextBlock (AudioSampleBuffer& outputBuffer, { // Process global voice data - buf1 = outputBuffer.getSampleData (0, startSample); - buf2 = outputBuffer.getSampleData (1, startSample); + buf1 = outputBuffer.getWritePointer (0, startSample); + buf2 = outputBuffer.getWritePointer (1, startSample); VoiceProcessDataV_Common(&m_pVoices[0], buf1, buf2, numThisTime); // Start audio threads diff --git a/Source/synth/synth_debug.c b/Source/synth/synth_debug.c index 5942de9..dc0ce85 100644 --- a/Source/synth/synth_debug.c +++ b/Source/synth/synth_debug.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include // -------------------------------------------------------------- @@ -13,10 +13,12 @@ // -------------------------------------------------------------- // Exported functions // -------------------------------------------------------------- -void SynthDebug(char *fmtstr, ...) + +void SynthDebug(const char *fmtstr, ...) { #ifndef SYNTH_DEBUG - + (void)fmtstr; + /* Empty body, so a good compiler will optimise calls to pmesg away */ #else