Class BasicWavMux

  • All Implemented Interfaces:
    javax.media.Clock, javax.media.Controls, javax.media.Multiplexer, javax.media.PlugIn

    public class BasicWavMux
    extends net.sf.fmj.media.multiplexer.BasicMux
    Implements a multiplexer for WAV files based on FMJ's BasicMux.
    Author:
    Boris Grozev
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javax.media.Format SUPPORTED_INPUT_FORMAT
      The input formats supported by this BasicWavMux.
      • Fields inherited from class net.sf.fmj.media.multiplexer.BasicMux

        buf, bufLength, bufOffset, clock, eos, filePointer, fileSize, fileSizeLimit, fileSizeLimitReached, firstBuffer, flushing, inputs, isLiveData, maxBufSize, mc, numTracks, outputCD, source, sourceLock, sth, stream, streamSizeLimitSupported, supportedInputs, supportedOutputs, swc, timeBase
      • Fields inherited from class net.sf.fmj.media.BasicPlugIn

        controls
      • Fields inherited from interface javax.media.Clock

        RESET
      • Fields inherited from interface javax.media.PlugIn

        BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicWavMux()
      Initializes a BasicWavMux instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()
      javax.media.Format setInputFormat​(javax.media.Format format, int trackID)
      void writeHeader()
      • Methods inherited from class net.sf.fmj.media.multiplexer.BasicMux

        bufClear, bufFlush, bufSkip, bufWriteByte, bufWriteBytes, bufWriteBytes, bufWriteInt, bufWriteIntLittleEndian, bufWriteShort, bufWriteShortLittleEndian, close, doProcess, getDataOutput, getMediaNanoseconds, getMediaTime, getRate, getStopTime, getSupportedInputFormats, getSupportedOutputContentDescriptors, getSyncTime, getTimeBase, mapToTimeBase, open, process, requireTwoPass, reset, seek, setContentDescriptor, setMediaTime, setNumTracks, setRate, setStopTime, setTimeBase, stop, syncStart, write, writeFooter
      • Methods inherited from class net.sf.fmj.media.BasicPlugIn

        error, getClassForName, getControl, getControls, getInputData, getNativeData, getOutputData, matches, plugInExists, validateByteArraySize, validateData, validateIntArraySize, validateShortArraySize
      • Methods inherited from interface javax.media.Controls

        getControl, getControls
    • Field Detail

      • SUPPORTED_INPUT_FORMAT

        public static javax.media.Format SUPPORTED_INPUT_FORMAT
        The input formats supported by this BasicWavMux.
    • Constructor Detail

      • BasicWavMux

        public BasicWavMux()
        Initializes a BasicWavMux instance.
    • Method Detail

      • getName

        public String getName()
      • setInputFormat

        public javax.media.Format setInputFormat​(javax.media.Format format,
                                                 int trackID)
        Specified by:
        setInputFormat in interface javax.media.Multiplexer
        Overrides:
        setInputFormat in class net.sf.fmj.media.multiplexer.BasicMux
      • writeHeader

        public void writeHeader()
        Overrides:
        writeHeader in class net.sf.fmj.media.multiplexer.BasicMux