Fix zynaddsubfx export with higher samplerates
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user