/[svn]/jsampler/trunk/src/org/jsampler/CC.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/CC.java

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

revision 1544 by iliev, Mon Dec 3 23:22:02 2007 UTC revision 1545 by iliev, Tue Dec 4 18:28:29 2007 UTC
# Line 265  public class CC { Line 265  public class CC {
265                  getClient().removeVoiceCountListener(getHandler());                  getClient().removeVoiceCountListener(getHandler());
266                  getClient().addVoiceCountListener(getHandler());                  getClient().addVoiceCountListener(getHandler());
267                                    
268                    getClient().removeTotalStreamCountListener(getHandler());
269                    getClient().addTotalStreamCountListener(getHandler());
270                    
271                  getClient().removeTotalVoiceCountListener(getHandler());                  getClient().removeTotalVoiceCountListener(getHandler());
272                  getClient().addTotalVoiceCountListener(getHandler());                  getClient().addTotalVoiceCountListener(getHandler());
273                                    
# Line 872  public class CC { Line 875  public class CC {
875                    
876          private static class EventHandler implements ChannelCountListener, ChannelInfoListener,          private static class EventHandler implements ChannelCountListener, ChannelInfoListener,
877                  FxSendCountListener, FxSendInfoListener, StreamCountListener, VoiceCountListener,                  FxSendCountListener, FxSendInfoListener, StreamCountListener, VoiceCountListener,
878                  TotalVoiceCountListener, TaskQueueListener, OrchestraListener,                  TotalStreamCountListener, TotalVoiceCountListener, TaskQueueListener,
879                  ListListener<OrchestraModel>, MidiInstrumentCountListener,                  OrchestraListener, ListListener<OrchestraModel>, MidiInstrumentCountListener,
880                  MidiInstrumentInfoListener, GlobalInfoListener {                  MidiInstrumentInfoListener, GlobalInfoListener {
881                                    
882                  /** Invoked when the number of channels has changed. */                  /** Invoked when the number of channels has changed. */
# Line 978  public class CC { Line 981  public class CC {
981                          scm.setVoiceCount(e.getVoiceCount());                          scm.setVoiceCount(e.getVoiceCount());
982                  }                  }
983                                    
984                    /** Invoked when the total number of active streams has changed. */
985                    public void
986                    totalStreamCountChanged(TotalStreamCountEvent e) {
987                            getSamplerModel().updateActiveStreamsInfo(e.getTotalStreamCount());
988                    }
989                    
990                  /** Invoked when the total number of active voices has changed. */                  /** Invoked when the total number of active voices has changed. */
991                  public void                  public void
992                  totalVoiceCountChanged(TotalVoiceCountEvent e) {                  totalVoiceCountChanged(TotalVoiceCountEvent e) {

Legend:
Removed from v.1544  
changed lines
  Added in v.1545

  ViewVC Help
Powered by ViewVC