org.jcodec.common.model
Class AudioFrame

java.lang.Object
  extended by org.jcodec.common.model.AudioBuffer
      extended by org.jcodec.common.model.AudioFrame

public class AudioFrame
extends AudioBuffer

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Constructor Summary
AudioFrame(AudioBuffer other, long pts, long duration, long timescale, int frameNo)
           
AudioFrame(ByteBuffer buffer, AudioFormat format, int nFrames, long pts, long duration, long timescale, int frameNo)
           
 
Method Summary
 long getDuration()
           
 int getFrameNo()
           
 long getPts()
           
 long getTimescale()
           
 
Methods inherited from class org.jcodec.common.model.AudioBuffer
getData, getFormat, getNFrames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioFrame

public AudioFrame(AudioBuffer other,
                  long pts,
                  long duration,
                  long timescale,
                  int frameNo)

AudioFrame

public AudioFrame(ByteBuffer buffer,
                  AudioFormat format,
                  int nFrames,
                  long pts,
                  long duration,
                  long timescale,
                  int frameNo)
Method Detail

getPts

public long getPts()

getDuration

public long getDuration()

getTimescale

public long getTimescale()

getFrameNo

public int getFrameNo()


Copyright © 2013. All Rights Reserved.