Sf2Player: load default soundfont upon instantiation
When creating a new Sf2Player plugin instance, load the default
soundfont. Might decrease performance a little bit when loading projects
which make use of many other soundfonts but for the sake of improved
usability we should accept this.
Partially closes #3149779.
(cherry picked from commit 510f87bfcc)
This commit is contained in:
@@ -133,7 +133,7 @@ sf2Instrument::sf2Instrument( InstrumentTrack * _instrument_track ) :
|
||||
InstrumentPlayHandle * iph = new InstrumentPlayHandle( this );
|
||||
engine::mixer()->addPlayHandle( iph );
|
||||
|
||||
//loadFile( configManager::inst()->defaultSoundfont() );
|
||||
loadFile( configManager::inst()->defaultSoundfont() );
|
||||
|
||||
updateSampleRate();
|
||||
updateReverbOn();
|
||||
|
||||
Reference in New Issue
Block a user