163 |
if (!pEngineChannel) continue; |
if (!pEngineChannel) continue; |
164 |
Engine* pEngine = pEngineChannel->GetEngine(); |
Engine* pEngine = pEngineChannel->GetEngine(); |
165 |
if (!pEngine) continue; |
if (!pEngine) continue; |
166 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_voice_count, iter->first, pEngine->VoiceCount())); |
pSampler->fireVoiceCountChanged(iter->first, pEngine->VoiceCount()); |
167 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_stream_count, iter->first, pEngine->DiskStreamCount())); |
pSampler->fireStreamCountChanged(iter->first, pEngine->DiskStreamCount()); |
168 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_buffer_fill, iter->first, pEngine->DiskStreamBufferFillPercentage())); |
pSampler->fireBufferFillChanged(iter->first, pEngine->DiskStreamBufferFillPercentage()); |
169 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_total_voice_count, pSampler->GetVoiceCount())); |
pSampler->fireTotalVoiceCountChanged(pSampler->GetVoiceCount()); |
170 |
} |
} |
171 |
LSCPServer::UnlockRTNotify(); |
LSCPServer::UnlockRTNotify(); |
172 |
} |
} |