public class CsvAudioMux extends AbstractInputStreamMux
inputFormats, numTracks, outputContentDescriptor
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
CsvAudioMux() |
Modifier and Type | Method and Description |
---|---|
static void |
audioBufferToStream(AudioFormat f,
Buffer buffer,
java.io.OutputStream os) |
void |
close() |
protected void |
doProcess(Buffer buffer,
int trackID,
java.io.OutputStream os) |
Format[] |
getSupportedInputFormats() |
void |
open() |
Format |
setInputFormat(Format format,
int trackID) |
createInputStreamPushDataSource, getDataOutput, getDataOutputNoInit, getOutputStream, getSupportedOutputContentDescriptors, process, setNumTracks, writeInt
setContentDescriptor
getName, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Multiplexer
getSupportedInputFormats
in class AbstractInputStreamMux
public Format setInputFormat(Format format, int trackID)
setInputFormat
in interface Multiplexer
setInputFormat
in class AbstractMultiplexer
public void open() throws ResourceUnavailableException
open
in interface PlugIn
open
in class AbstractInputStreamMux
ResourceUnavailableException
public void close()
close
in interface PlugIn
close
in class AbstractInputStreamMux
protected void doProcess(Buffer buffer, int trackID, java.io.OutputStream os) throws java.io.IOException
doProcess
in class AbstractInputStreamMux
java.io.IOException
public static void audioBufferToStream(AudioFormat f, Buffer buffer, java.io.OutputStream os) throws java.io.IOException
java.io.IOException