public abstract class JavaSoundMux extends AbstractStreamCopyMux
inputFormats, numTracks, outputContentDescriptor
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
JavaSoundMux(FileTypeDescriptor fileTypeDescriptor,
javax.sound.sampled.AudioFileFormat.Type audioFileFormatType) |
Modifier and Type | Method and Description |
---|---|
protected StreamCopyPushDataSource |
createInputStreamPushDataSource(ContentDescriptor outputContentDescriptor,
int numTracks,
java.io.InputStream[] inputStreams,
Format[] inputFormats) |
Format[] |
getSupportedInputFormats() |
int |
setNumTracks(int numTracks) |
protected void |
write(java.io.InputStream in,
java.io.OutputStream out,
javax.sound.sampled.AudioFormat javaSoundFormat) |
close, getDataOutput, getSupportedOutputContentDescriptors, open, process
setContentDescriptor, setInputFormat
getName, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public JavaSoundMux(FileTypeDescriptor fileTypeDescriptor, javax.sound.sampled.AudioFileFormat.Type audioFileFormatType)
public int setNumTracks(int numTracks)
setNumTracks
in interface Multiplexer
setNumTracks
in class AbstractStreamCopyMux
protected StreamCopyPushDataSource createInputStreamPushDataSource(ContentDescriptor outputContentDescriptor, int numTracks, java.io.InputStream[] inputStreams, Format[] inputFormats)
createInputStreamPushDataSource
in class AbstractStreamCopyMux
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Multiplexer
getSupportedInputFormats
in class AbstractStreamCopyMux
protected void write(java.io.InputStream in, java.io.OutputStream out, javax.sound.sampled.AudioFormat javaSoundFormat) throws java.io.IOException
java.io.IOException