--- linuxsampler/trunk/src/engines/gig/Engine.cpp 2014/01/01 17:48:01 2494 +++ linuxsampler/trunk/src/engines/gig/Engine.cpp 2014/05/20 12:21:39 2565 @@ -109,6 +109,14 @@ ProcessFxSendControllers(pChannel, itControlChangeEvent); } + void Engine::ProcessChannelPressure(LinuxSampler::EngineChannel* pEngineChannel, Pool::Iterator& itChannelPressureEvent) { + // if required: engine global aftertouch handling (apart from the per voice handling) + } + + void Engine::ProcessPolyphonicKeyPressure(LinuxSampler::EngineChannel* pEngineChannel, Pool::Iterator& itNotePressureEvent) { + // if required: engine global aftertouch handling (apart from the per voice handling) + } + DiskThread* Engine::CreateDiskThread() { return new DiskThread ( iMaxDiskStreams, @@ -293,6 +301,7 @@ if (ReleaseTriggerVoice && !(VoiceType & Voice::type_release_trigger)) return Pool::Iterator(); ::gig::DimensionRegion* pDimRgn = pRegion->GetDimensionRegionByValue(DimValues); + if (!pDimRgn) return Pool::Iterator(); // error (could not resolve dimension region) // no need to continue if sample is silent if (!pDimRgn->pSample || !pDimRgn->pSample->SamplesTotal) return Pool::Iterator();