uk.org.toot.audio.core
Class NullAudioProcess

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

public class NullAudioProcess
extends SimpleAudioProcess

An AudioProcess that does nothing which is useful for testing.


Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
NullAudioProcess()
           
 
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

NullAudioProcess

public NullAudioProcess()
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.