ddf.minim.spi
Interface AudioOut

All Superinterfaces:
AudioResource

public interface AudioOut
extends AudioResource

An AudioSythesizer is an AudioStream that generates sound, rather than reading sound. It uses the attached AudioSignal and AudioEffect to generate a signal.

Author:
Damien Di Fede

Method Summary
 int bufferSize()
           
 void setAudioEffect(AudioEffect effect)
          Sets the AudioEffect to apply to the signal.
 void setAudioListener(AudioListener listen)
          Sets the AudioListener that will have sound broadcasted to it as the output generates.
 void setAudioSignal(AudioSignal signal)
          Sets the AudioSignal that this output will use to generate sound.
 void setAudioStream(AudioStream stream)
          Sets the AudioStream that this output will use to generate sound.
 
Methods inherited from interface ddf.minim.spi.AudioResource
close, getControls, getFormat, open
 

Method Detail

bufferSize

int bufferSize()
Returns:
the size of the buffer used by this output.

setAudioSignal

void setAudioSignal(AudioSignal signal)
Sets the AudioSignal that this output will use to generate sound.

Parameters:
signal - the AudioSignal used to generate sound

setAudioStream

void setAudioStream(AudioStream stream)
Sets the AudioStream that this output will use to generate sound.

Parameters:
stream -

setAudioEffect

void setAudioEffect(AudioEffect effect)
Sets the AudioEffect to apply to the signal.

Parameters:
effect - the AudioEffect to apply to the signal

setAudioListener

void setAudioListener(AudioListener listen)
Sets the AudioListener that will have sound broadcasted to it as the output generates.

Parameters:
listen -