com.cloudgarden.audio
Interface AudioConverter

All Superinterfaces:
AudioObject, AudioSink, AudioSource
All Known Implementing Classes:
AudioMediaFormatConverter, DefaultAudioConverter

public interface AudioConverter
extends AudioSource, AudioSink

An interface to identify AudioObjects which implement both an AudioSink and an AudioSource and have different input and output formats


Fields inherited from interface com.cloudgarden.audio.AudioObject
END_OF_DATA
 
Method Summary
 javax.sound.sampled.AudioFormat getIncomingAudioFormat()
           
 java.lang.String getIncomingContentType()
           
 void setIncomingAudioFormat(javax.sound.sampled.AudioFormat format)
           
 void setIncomingContentType(java.lang.String contentType)
           
 
Methods inherited from interface com.cloudgarden.audio.AudioSource
getSink, isSending, read, read, setSink, startSending, stopSending
 
Methods inherited from interface com.cloudgarden.audio.AudioObject
addTransferListener, canSetAudioFormat, drain, getAudioFormat, getContentType, isPaused, isWaiting, removeTransferListener, setAudioFormat, setContentType, setPaused
 
Methods inherited from interface com.cloudgarden.audio.AudioSink
getSource, setSource, write, write
 

Method Detail

getIncomingAudioFormat

public javax.sound.sampled.AudioFormat getIncomingAudioFormat()

setIncomingAudioFormat

public void setIncomingAudioFormat(javax.sound.sampled.AudioFormat format)
                            throws java.io.IOException

getIncomingContentType

public java.lang.String getIncomingContentType()

setIncomingContentType

public void setIncomingContentType(java.lang.String contentType)