public class SampleBuffer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SF_CODECSPECIFIC
Sample flags
|
static int |
SF_DISCONTINUITY
Sample flags
|
static int |
SF_EOS
Sample flags
|
static int |
SF_FLUSH
Sample flags
|
static int |
SF_FRAMEREORDERED
Sample flags
|
static int |
SF_KEYFRAME
Sample flags
|
static int |
SF_NOSTAMP
Sample flags
|
static int |
SF_PREROLL
Sample flags
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDeltaTime() |
DSMediaType |
getMediaType() |
byte[] |
getSample()
Returns the actual sample data.
|
int |
getSampleFlags() |
int |
getSampleLength() |
int |
getSampleTime()
Millisecond time of the sample.
|
int |
getSequenceNumber() |
int |
getUserData() |
void |
setDeltaTime(int d) |
void |
setSampleLength(int length) |
public static final int SF_KEYFRAME
public static final int SF_DISCONTINUITY
public static final int SF_PREROLL
public static final int SF_FRAMEREORDERED
public static final int SF_NOSTAMP
public static final int SF_CODECSPECIFIC
public static final int SF_FLUSH
public static final int SF_EOS
public byte[] getSample()
public int getSampleTime()
public int getDeltaTime()
public void setDeltaTime(int d)
public int getSampleFlags()
public int getSequenceNumber()
public int getSampleLength()
public void setSampleLength(int length)
public int getUserData()
public DSMediaType getMediaType()