Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.monte.media
Interface Multiplexer

All Known Subinterfaces:
  MovieWriter

All Known Implementing Classes:
  ANIMMultiplexer, ANIMWriter, AVIWriter, FileMultiplexer, ImageSequenceWriter, QuickTimeMultiplexer, QuickTimeWriter

    public interface Multiplexer

A `Multiplexer` can write multiple media tracks into a single output stream.

Version:
  1.0 2011-02-19 Created.
Author:
  Werner Randelshofer

Method Summary
`void` | `close()` Closes the Multiplexer.
`void` | `write(int track, Buffer buf)` Writes a sample.

Method Detail

### write

    void write(int track,
               Buffer buf)
               throws java.io.IOException

  Writes a sample. Does nothing if the discard-flag in the buffer is set to true.

  Parameters:
    `track` - The track number.
    `buf` - The buffer containing the sample data.
  Throws:
    `java.io.IOException`

### close

    void close()
               throws java.io.IOException

  Closes the Multiplexer.

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD