com.jogamp.opengl.util.av

## Class AudioSink.AudioFrame

- java.lang.Object
- - com.jogamp.opengl.util.TimeFrameI
  - - com.jogamp.opengl.util.av.AudioSink.AudioFrame

- Direct Known Subclasses:
    AudioSink.AudioDataFrame
  Enclosing interface:
    AudioSink

      public abstract static class AudioSink.AudioFrame
      extends TimeFrameI

- - ### Field Summary

    - ### Fields inherited from class com.jogamp.opengl.util.TimeFrameI

      `END_OF_STREAM_PTS, INVALID_PTS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AudioSink.AudioFrame()`
    `AudioSink.AudioFrame(int pts, int duration, int byteCount)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getByteSize()` Get this frame's size in bytes.
    `void` | `setByteSize(int size)` Set this frame's size in bytes.
    `String` | `toString()`

    - ### Methods inherited from class com.jogamp.opengl.util.TimeFrameI

      `getDuration, getPTS, setDuration, setPTS`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AudioSink.AudioFrame

          public AudioSink.AudioFrame()

    - #### AudioSink.AudioFrame

          public AudioSink.AudioFrame(int pts,
                              int duration,
                              int byteCount)

  - ### Method Detail

    - #### getByteSize

          public final int getByteSize()

      Get this frame's size in bytes.

    - #### setByteSize

          public final void setByteSize(int size)

      Set this frame's size in bytes.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `TimeFrameI`

Copyright 2010 JogAmp Community.