uk.org.toot.audio.core
Class SilentInputAudioProcess

java.lang.Object
  extended by uk.org.toot.audio.core.SimpleAudioProcess
      extended by uk.org.toot.audio.core.SilentInputAudioProcess
All Implemented Interfaces:
AudioProcess

public class SilentInputAudioProcess
extends SimpleAudioProcess

An input AudioProcess which provides silence with a specified ChannelFormat and source label.

Author:
st

Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
SilentInputAudioProcess(ChannelFormat format, java.lang.String label)
           
 
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

SilentInputAudioProcess

public SilentInputAudioProcess(ChannelFormat format,
                               java.lang.String label)
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.