165 |
if (!pEngineChannel) continue; |
if (!pEngineChannel) continue; |
166 |
Engine* pEngine = pEngineChannel->GetEngine(); |
Engine* pEngine = pEngineChannel->GetEngine(); |
167 |
if (!pEngine) continue; |
if (!pEngine) continue; |
168 |
pSampler->fireVoiceCountChanged(iter->first, pEngine->VoiceCount()); |
pSampler->fireVoiceCountChanged(iter->first, pEngineChannel->GetVoiceCount()); |
169 |
pSampler->fireStreamCountChanged(iter->first, pEngine->DiskStreamCount()); |
pSampler->fireStreamCountChanged(iter->first, pEngineChannel->GetDiskStreamCount()); |
170 |
pSampler->fireBufferFillChanged(iter->first, pEngine->DiskStreamBufferFillPercentage()); |
pSampler->fireBufferFillChanged(iter->first, pEngine->DiskStreamBufferFillPercentage()); |
171 |
pSampler->fireTotalVoiceCountChanged(pSampler->GetVoiceCount()); |
pSampler->fireTotalVoiceCountChanged(pSampler->GetVoiceCount()); |
172 |
} |
} |