Merge pull request #395 from diizy/stable-0.4

Fix zynaddsubfx export with higher samplerates
This commit is contained in:
Tobias Doerffel
2014-03-01 13:00:26 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ void LocalZynAddSubFx::processAudio( sampleFrame * _out )
REALTYPE outputl[SOUND_BUFFER_SIZE];
REALTYPE outputr[SOUND_BUFFER_SIZE];
m_master->AudioOut( outputl, outputr );
m_master->GetAudioOutSamples( SOUND_BUFFER_SIZE, SAMPLE_RATE, outputl, outputr );
for( int f = 0; f < SOUND_BUFFER_SIZE; ++f )
{

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef _LOCAL_ZYNADDSUBFX_H
#define _LOCAL_ZYNADDSUBFX_H
#ifndef LOCAL_ZYNADDSUBFX_H
#define LOCAL_ZYNADDSUBFX_H
#include "MidiEvent.h"
#include "note.h"