- 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:
@@ -52,6 +52,7 @@ CCADMIN=CCadmin
|
|||||||
|
|
||||||
# build
|
# build
|
||||||
build: .build-post
|
build: .build-post
|
||||||
|
cp ${CND_ARTIFACT_PATH_${CONF}} "/c/Program Files (x86)/Steinberg/VSTPlugins/JaySynth.dll"
|
||||||
|
|
||||||
.build-pre:
|
.build-pre:
|
||||||
# Add your pre 'build' code here...
|
# Add your pre 'build' code here...
|
||||||
@@ -89,7 +90,6 @@ all: .all-post
|
|||||||
.all-post: .all-impl
|
.all-post: .all-impl
|
||||||
# Add your post 'all' code here...
|
# Add your post 'all' code here...
|
||||||
|
|
||||||
|
|
||||||
# build tests
|
# build tests
|
||||||
build-tests: .build-tests-post
|
build-tests: .build-tests-post
|
||||||
|
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ void ButtonLED::clicked(const ModifierKeys &modifiers)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (clickingTogglesState)
|
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
|
// Process global voice data
|
||||||
buf1 = outputBuffer.getSampleData (0, startSample);
|
buf1 = outputBuffer.getWritePointer (0, startSample);
|
||||||
buf2 = outputBuffer.getSampleData (1, startSample);
|
buf2 = outputBuffer.getWritePointer (1, startSample);
|
||||||
VoiceProcessDataV_Common(&m_pVoices[0], buf1, buf2, numThisTime);
|
VoiceProcessDataV_Common(&m_pVoices[0], buf1, buf2, numThisTime);
|
||||||
|
|
||||||
// Start audio threads
|
// Start audio threads
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
@@ -13,10 +13,12 @@
|
|||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Exported functions
|
// Exported functions
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
void SynthDebug(char *fmtstr, ...)
|
|
||||||
|
void SynthDebug(const char *fmtstr, ...)
|
||||||
{
|
{
|
||||||
#ifndef SYNTH_DEBUG
|
#ifndef SYNTH_DEBUG
|
||||||
|
(void)fmtstr;
|
||||||
|
|
||||||
/* Empty body, so a good compiler will optimise calls
|
/* Empty body, so a good compiler will optimise calls
|
||||||
to pmesg away */
|
to pmesg away */
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user