--- linuxsampler/trunk/src/engines/gig/InstrumentResourceManager.h 2008/02/02 08:52:48 1658 +++ linuxsampler/trunk/src/engines/gig/InstrumentResourceManager.h 2008/02/03 00:13:27 1659 @@ -120,7 +120,8 @@ void CacheInitialSamples(::gig::Sample* pSample, gig::Engine* pEngine); void UncacheInitialSamples(::gig::Sample* pSample); std::vector< ::gig::Instrument*> GetInstrumentsCurrentlyUsedOf(::gig::File* pFile, bool bLock); - std::set GetEnginesUsing(::gig::Instrument* pFile, bool bLock); + std::set GetEngineChannelsUsing(::gig::Instrument* pInstrument, bool bLock); + std::set GetEnginesUsing(::gig::Instrument* pInstrument, bool bLock); std::set GetEnginesUsing(::gig::File* pFile, bool bLock); bool SampleReferencedByInstrument(::gig::Sample* pSample, ::gig::Instrument* pInstrument); void SuspendEnginesUsing(::gig::Instrument* pInstrument);