Fix zynaddsubfx export with higher samplerates

This commit is contained in:
Vesa
2014-03-01 13:41:24 +02:00
parent 56747ab9a7
commit cd9709d855
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"