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

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

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

revision 2199 by iliev, Thu Sep 11 18:48:36 2008 UTC revision 2200 by iliev, Sun Jul 3 22:01:16 2011 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 716  public class DefaultSamplerChannelModel Line 716  public class DefaultSamplerChannelModel
716                  CC.getTaskQueue().add(new Channel.SendMidiMsg(getChannelId(), type, arg1, arg2));                  CC.getTaskQueue().add(new Channel.SendMidiMsg(getChannelId(), type, arg1, arg2));
717          }          }
718                    
719            /**
720             * Sets destination effect on the specified effect send.
721             * @param fxSend The numerical ID of the effect send.
722             */
723            public void
724            setBackendFxSendEffect(int fxSend, int chainId, int chainPos) {
725                    CC.getTaskQueue().add (
726                            new Channel.SetFxSendEffect(getChannelId(), fxSend, chainId, chainPos)
727                    );
728            }
729            
730            /**
731             * Removes the destination effect of the specified effect send.
732             * @param fxSend The numerical ID of the effect send.
733             */
734            public void
735            removeBackendFxSendEffect(int fxSend) {
736                    CC.getTaskQueue().add (
737                            new Channel.SetFxSendEffect(getChannelId(), fxSend, -1, -1)
738                    );
739            }
740            
741          /** Notifies listeners that the sampler channel settings has changed. */          /** Notifies listeners that the sampler channel settings has changed. */
742          protected void          protected void
743          fireSamplerChannelChanged() {          fireSamplerChannelChanged() {

Legend:
Removed from v.2199  
changed lines
  Added in v.2200

  ViewVC Help
Powered by ViewVC