/[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 770 by schoenebeck, Sun Sep 11 15:56:29 2005 UTC revision 778 by iliev, Fri Sep 23 06:58:26 2005 UTC
# Line 121  int main(int argc, char **argv) { Line 121  int main(int argc, char **argv) {
121      rtEvents.push_back(LSCPEvent::event_voice_count);      rtEvents.push_back(LSCPEvent::event_voice_count);
122      rtEvents.push_back(LSCPEvent::event_stream_count);      rtEvents.push_back(LSCPEvent::event_stream_count);
123      rtEvents.push_back(LSCPEvent::event_buffer_fill);      rtEvents.push_back(LSCPEvent::event_buffer_fill);
124        rtEvents.push_back(LSCPEvent::event_total_voice_count);
125    
126      while (true) {      while (true) {
127          if (bPrintStatistics) {          if (bPrintStatistics) {
# Line 162  int main(int argc, char **argv) { Line 163  int main(int argc, char **argv) {
163                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_voice_count, iter->first, pEngine->VoiceCount()));                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_voice_count, iter->first, pEngine->VoiceCount()));
164                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_stream_count, iter->first, pEngine->DiskStreamCount()));                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_stream_count, iter->first, pEngine->DiskStreamCount()));
165                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_buffer_fill, iter->first, pEngine->DiskStreamBufferFillPercentage()));                LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_buffer_fill, iter->first, pEngine->DiskStreamBufferFillPercentage()));
166                  LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_total_voice_count, pSampler->GetVoiceCount()));
167            }            }
168            LSCPServer::UnlockRTNotify();            LSCPServer::UnlockRTNotify();
169        }        }

Legend:
Removed from v.770  
changed lines
  Added in v.778

  ViewVC Help
Powered by ViewVC