uk.org.toot.audio.mixer
Class MixProcess

java.lang.Object
  extended by uk.org.toot.audio.core.SimpleAudioProcess
      extended by uk.org.toot.audio.mixer.MixProcess
All Implemented Interfaces:
AudioProcess
Direct Known Subclasses:
MainMixProcess

public class MixProcess
extends SimpleAudioProcess

A MixProcess mixes a portion of the audio signal that it processes to a particular named bus. Levels are exponentially smoothed.


Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
MixProcess(AudioMixerStrip strip, MixVariables vars)
           
 
Method Summary
 int processAudio(AudioBuffer buffer)
          Process the supplied buffer
 
Methods inherited from class uk.org.toot.audio.core.SimpleAudioProcess
close, open
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MixProcess

public MixProcess(AudioMixerStrip strip,
                  MixVariables vars)
Method Detail

processAudio

public int processAudio(AudioBuffer buffer)
Description copied from interface: AudioProcess
Process the supplied buffer

Parameters:
buffer - the AudioBuffer to process.
Returns:
int AUDIO_OK or AUDIO_DISCONNECT.


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