public class AudioFrame
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
audioTrackNumber |
private int |
avsyncType |
private java.nio.ByteBuffer |
buffer |
private int |
bytesPerSample |
private int |
channels |
private int |
farFiledFlag |
private int |
musicProb |
private int |
pitch |
private long |
presentationMs |
private long |
renderTimeMs |
private int |
rms |
private int |
rtpTimestamp |
private int |
samplesPerChannel |
private int |
samplesPerSec |
private int |
type |
private int |
voiceProb |
| Constructor and Description |
|---|
AudioFrame() |
AudioFrame(int type,
int samplesPerChannel,
int bytesPerSample,
int channels,
int samplesPerSec,
java.nio.ByteBuffer buffer,
long renderTimeMs,
long presentationMs,
int avsyncType,
int audioTrackNumber,
int rtpTimestamp,
int farFiledFlag,
int rms,
int voiceProb,
int musicProb,
int pitch) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAudioTrackNumber() |
int |
getAvsyncType() |
java.nio.ByteBuffer |
getBuffer() |
int |
getBytesPerSample() |
int |
getChannels() |
int |
getFarFiledFlag() |
int |
getMusicProb() |
int |
getPitch() |
long |
getPresentationMs() |
long |
getRenderTimeMs() |
int |
getRms() |
int |
getRtpTimestamp() |
int |
getSamplesPerChannel() |
int |
getSamplesPerSec() |
int |
getType() |
int |
getVoiceProb() |
void |
setAudioTrackNumber(int audioTrackNumber) |
void |
setAvsyncType(int avsyncType) |
void |
setBuffer(java.nio.ByteBuffer buffer) |
void |
setBytesPerSample(int bytesPerSample) |
void |
setChannels(int channels) |
void |
setFarFiledFlag(int farFiledFlag) |
void |
setMusicProb(int musicProb) |
void |
setPitch(int pitch) |
void |
setPresentationMs(long presentationMs) |
void |
setRenderTimeMs(long renderTimeMs) |
void |
setRms(int rms) |
void |
setRtpTimestamp(int rtpTimestamp) |
void |
setSamplesPerChannel(int samplesPerChannel) |
void |
setSamplesPerSec(int samplesPerSec) |
void |
setType(int type) |
void |
setVoiceProb(int voiceProb) |
java.lang.String |
toString() |
private int type
private int samplesPerChannel
private int bytesPerSample
private int channels
private int samplesPerSec
private java.nio.ByteBuffer buffer
private long renderTimeMs
private long presentationMs
private int avsyncType
private int audioTrackNumber
private int rtpTimestamp
private int farFiledFlag
private int rms
private int voiceProb
private int musicProb
private int pitch
public AudioFrame()
public AudioFrame(int type,
int samplesPerChannel,
int bytesPerSample,
int channels,
int samplesPerSec,
java.nio.ByteBuffer buffer,
long renderTimeMs,
long presentationMs,
int avsyncType,
int audioTrackNumber,
int rtpTimestamp,
int farFiledFlag,
int rms,
int voiceProb,
int musicProb,
int pitch)
public int getType()
public void setType(int type)
public int getSamplesPerChannel()
public void setSamplesPerChannel(int samplesPerChannel)
public int getBytesPerSample()
public void setBytesPerSample(int bytesPerSample)
public int getChannels()
public void setChannels(int channels)
public int getSamplesPerSec()
public void setSamplesPerSec(int samplesPerSec)
public java.nio.ByteBuffer getBuffer()
public void setBuffer(java.nio.ByteBuffer buffer)
public long getRenderTimeMs()
public void setRenderTimeMs(long renderTimeMs)
public long getPresentationMs()
public void setPresentationMs(long presentationMs)
public int getAvsyncType()
public void setAvsyncType(int avsyncType)
public int getAudioTrackNumber()
public void setAudioTrackNumber(int audioTrackNumber)
public int getRtpTimestamp()
public void setRtpTimestamp(int rtpTimestamp)
public int getFarFiledFlag()
public void setFarFiledFlag(int farFiledFlag)
public int getRms()
public void setRms(int rms)
public int getVoiceProb()
public void setVoiceProb(int voiceProb)
public int getMusicProb()
public void setMusicProb(int musicProb)
public int getPitch()
public void setPitch(int pitch)
public java.lang.String toString()
toString in class java.lang.Object