/[svn]/linuxsampler/trunk/src/linuxsampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/linuxsampler.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1012 by capela, Sun Jan 7 15:52:36 2007 UTC revision 1130 by iliev, Sun Mar 25 18:59:14 2007 UTC
# Line 163  int main(int argc, char **argv) { Line 163  int main(int argc, char **argv) {
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        }        }

Legend:
Removed from v.1012  
changed lines
  Added in v.1130

  ViewVC Help
Powered by ViewVC