public class AudioFrame
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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 |
renderTimeMs |
private int |
rms |
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,
int avsyncType,
int farFiledFlag,
int rms,
int voiceProb,
int musicProb,
int pitch) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAvsyncType() |
java.nio.ByteBuffer |
getBuffer() |
int |
getBytesPerSample() |
int |
getChannels() |
int |
getFarFiledFlag() |
int |
getMusicProb() |
int |
getPitch() |
long |
getRenderTimeMs() |
int |
getRms() |
int |
getSamplesPerChannel() |
int |
getSamplesPerSec() |
int |
getType() |
int |
getVoiceProb() |
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 |
setRenderTimeMs(long renderTimeMs) |
void |
setRms(int rms) |
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 int avsyncType
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,
int avsyncType,
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 int getAvsyncType()
public void setAvsyncType(int avsyncType)
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