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

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

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

revision 1044 by schoenebeck, Wed Feb 7 21:51:19 2007 UTC revision 1130 by iliev, Sun Mar 25 18:59:14 2007 UTC
# Line 178  namespace LinuxSampler { Line 178  namespace LinuxSampler {
178          return (bMidiRpnReceived) ? (uiMidiRpnMsb << 8) | uiMidiRpnLsb : -1;          return (bMidiRpnReceived) ? (uiMidiRpnMsb << 8) | uiMidiRpnLsb : -1;
179      }      }
180    
181        void EngineChannel::AddFxSendCountListener(FxSendCountListener* l) {
182            llFxSendCountListeners.AddListener(l);
183        }
184    
185        void EngineChannel::RemoveFxSendCountListener(FxSendCountListener* l) {
186            llFxSendCountListeners.RemoveListener(l);
187        }
188    
189        void EngineChannel::RemoveAllFxSendCountListeners() {
190            llFxSendCountListeners.RemoveAllListeners();
191        }
192    
193        void EngineChannel::fireFxSendCountChanged(int ChannelId, int NewCount) {
194            for (int i = 0; i < llFxSendCountListeners.GetListenerCount(); i++) {
195                llFxSendCountListeners.GetListener(i)->FxSendCountChanged(ChannelId, NewCount);
196            }
197        }
198    
199  } // namespace LinuxSampler  } // namespace LinuxSampler

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

  ViewVC Help
Powered by ViewVC