changeset 241:a99de38af73f integration_library

Set m_pluginBlockSize = 1024 instead of 2048, block size which does not work on OSX 10.5.8
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Tue, 23 Aug 2011 14:43:54 +0100
parents e8961a95b3d6
children 7f08a7e35b3c
files audioio/AudioCallbackPlaySource.cpp audioio/AudioGenerator.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioCallbackPlaySource.cpp	Tue Aug 23 12:03:55 2011 +0100
+++ b/audioio/AudioCallbackPlaySource.cpp	Tue Aug 23 14:43:54 2011 +0100
@@ -1006,7 +1006,7 @@
     Note n(m_examplePlaybackFrame,
            midiPitch,
            rate / 2, // half a second
-           0,
+           64,
            "");
 
     NoteModel *newNoteModel = 0;
--- a/audioio/AudioGenerator.cpp	Tue Aug 23 12:03:55 2011 +0100
+++ b/audioio/AudioGenerator.cpp	Tue Aug 23 14:43:54 2011 +0100
@@ -38,7 +38,7 @@
 #include <QFile>
 
 const size_t
-AudioGenerator::m_pluginBlockSize = 2048;
+AudioGenerator::m_pluginBlockSize = 1024; //2048;
 
 QString
 AudioGenerator::m_sampleDir = "";