- fixed notification stuff
- getWritePointer() - added custom build step; copy dll to VST-Plugins folder git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@237 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -174,7 +174,7 @@ void ButtonLED::clicked(const ModifierKeys &modifiers)
|
||||
return;
|
||||
|
||||
if (clickingTogglesState)
|
||||
setToggleState(!state, false);
|
||||
setToggleState(!state, juce::NotificationType::dontSendNotification);
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <windows.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
// --------------------------------------------------------------
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user