Sf2Player: disable per-note-panning support for the time being
The per-note-panning support is broken (not sure whether this is a bug in FluidSynth or our code) and leads to improperly panned sounds all the time - even with all notes being panned to center. Thus disable it until we have a proper fix for it.
This commit is contained in:
@@ -636,6 +636,7 @@ void sf2Instrument::playNote( notePlayHandle * _n, sampleFrame * )
|
||||
|
||||
SF2PluginData * pluginData = static_cast<SF2PluginData *>(
|
||||
_n->m_pluginData );
|
||||
#ifdef SOMEONE_FIXED_PER_NOTE_PANNING
|
||||
if( pluginData->fluidVoice &&
|
||||
pluginData->lastPanning != _n->getPanning() )
|
||||
{
|
||||
@@ -650,6 +651,7 @@ void sf2Instrument::playNote( notePlayHandle * _n, sampleFrame * )
|
||||
|
||||
pluginData->lastPanning = _n->getPanning();
|
||||
}
|
||||
#endif
|
||||
|
||||
const float currentVelocity = _n->volumeLevel( tfp ) * 127;
|
||||
if( pluginData->fluidVoice &&
|
||||
|
||||
Reference in New Issue
Block a user