- 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:
2015-02-21 23:04:53 +00:00
parent a21e5554c4
commit dadf05a851
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -174,7 +174,7 @@ void ButtonLED::clicked(const ModifierKeys &modifiers)
return;
if (clickingTogglesState)
setToggleState(!state, false);
setToggleState(!state, juce::NotificationType::dontSendNotification);
}
+2 -2
View File
@@ -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 -2
View File
@@ -4,7 +4,7 @@
#include <windows.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
// --------------------------------------------------------------
@@ -13,9 +13,11 @@
// --------------------------------------------------------------
// 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 */