Fix Carla in memmgr branch

This commit is contained in:
Vesa
2014-10-15 20:48:22 +03:00
parent f25da35c24
commit 50bfed7180

View File

@@ -180,7 +180,7 @@ CarlaInstrument::CarlaInstrument(InstrumentTrack* const instrumentTrack, const D
fDescriptor->activate(fHandle);
// we need a play-handle which cares for calling play()
InstrumentPlayHandle * iph = new InstrumentPlayHandle( this );
InstrumentPlayHandle * iph = new InstrumentPlayHandle( this, instrumentTrack );
engine::mixer()->addPlayHandle( iph );
connect(engine::mixer(), SIGNAL(sampleRateChanged()), this, SLOT(sampleRateChanged()));