uk.org.toot.audio.mixer
Class MixControls

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.control.Control
          extended by uk.org.toot.control.CompoundControl
              extended by uk.org.toot.audio.core.AudioControls
                  extended by uk.org.toot.audio.mixer.MixControls
All Implemented Interfaces:
MixVariables
Direct Known Subclasses:
MainMixControls, PostFadeMixControls

public class MixControls
extends AudioControls
implements MixVariables

MixControls are the composite Controls for a MixProcess.


Nested Class Summary
static class MixControls.BalanceControl
          A BalanceControl implements stereo balance.
static class MixControls.FrontRearControl
          A FrontRearControl.
static class MixControls.GainControl
          A GainControl is a FaderControl which implements GainVariables.
static class MixControls.LCRControl
          An abstract implementation of a Left/Center/Right control such as a pan or balance control.
static class MixControls.PanControl
          A PanControl implements stereo pan.
 
Nested classes/interfaces inherited from class uk.org.toot.control.CompoundControl
CompoundControl.BypassControl
 
Field Summary
 
Fields inherited from class uk.org.toot.control.CompoundControl
USE_PARENT_PROVIDER_ID
 
Constructor Summary
MixControls(MixerControls mixerControls, int stripId, BusControls busControls, boolean isMaster)
           
 
Method Summary
 boolean canBeDeleted()
           
 ChannelFormat getChannelFormat()
           
 void getChannelGains(float[] dest)
           
 float getGain()
           
 MixControls.GainControl getGainControl()
           
 BooleanControl getMuteControl()
           
 BooleanControl getSoloControl()
           
 boolean hasPresets()
           
 boolean hasSolo()
           
 boolean isAlwaysVertical()
           
 boolean isEnabled()
           
 boolean isMaster()
           
 boolean isMute()
           
 boolean isSolo()
           
 
Methods inherited from class uk.org.toot.audio.core.AudioControls
canBeMinimized, canBypass, getBypassControl, getPersistenceDomain, hasOrderedFrequencies, isBypassed, setBypassed
 
Methods inherited from class uk.org.toot.control.CompoundControl
canBeInsertedBefore, canBeMoved, canBeMovedBefore, deepFind, find, find, find, getAlignmentY, getAlternate, getClientProperty, getControls, getInstanceIndex, getMemberControls, getNativeSupport, getPersistence, getProviderId, hasCustomUI, isAlwaysHorizontal, isNeverBordered, isPluginParent, putClientProperty, setEnabled, setPersistence, setProviderId, toString
 
Methods inherited from class uk.org.toot.control.Control
getAnnotation, getControlPath, getControlPath, getId, getIntValue, getName, getParent, getValueString, isAdjusting, isHidden, isIndicator, setAdjusting, setAnnotation, setHidden, setIntValue, setName
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.org.toot.audio.mixer.MixVariables
getName
 

Constructor Detail

MixControls

public MixControls(MixerControls mixerControls,
                   int stripId,
                   BusControls busControls,
                   boolean isMaster)
Method Detail

isMaster

public boolean isMaster()
Specified by:
isMaster in interface MixVariables

getChannelFormat

public ChannelFormat getChannelFormat()
Specified by:
getChannelFormat in interface MixVariables

isAlwaysVertical

public boolean isAlwaysVertical()
Overrides:
isAlwaysVertical in class CompoundControl

canBeDeleted

public boolean canBeDeleted()
Overrides:
canBeDeleted in class CompoundControl

hasPresets

public boolean hasPresets()
Overrides:
hasPresets in class CompoundControl

isSolo

public boolean isSolo()

isMute

public boolean isMute()

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface MixVariables
Overrides:
isEnabled in class Control

hasSolo

public boolean hasSolo()

getGain

public float getGain()
Specified by:
getGain in interface MixVariables

getChannelGains

public void getChannelGains(float[] dest)
Specified by:
getChannelGains in interface MixVariables

getMuteControl

public BooleanControl getMuteControl()

getSoloControl

public BooleanControl getSoloControl()

getGainControl

public MixControls.GainControl getGainControl()


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.