程序包 rtc
类 MAudio.PCMAudioDataBean
java.lang.Object
rtc.MAudio.PCMAudioDataBean
- 封闭类:
- MAudio
音频PCM原始数据载体
-
构造器概要
构造器说明PCMAudioDataBean
(String userId, long timestamp, int sampleRate, int channels, byte[] data, int len) -
方法概要
修饰符和类型方法说明int
byte[]
getData()
int
getLen()
int
long
void
setChannels
(int channels) void
setData
(byte[] data) void
setLen
(int len) void
setSampleRate
(int sampleRate) void
setTimestamp
(long timestamp) void
toString()
-
构造器详细资料
-
PCMAudioDataBean
public PCMAudioDataBean(String userId, long timestamp, int sampleRate, int channels, byte[] data, int len)
-
-
方法详细资料
-
getUserId
-
setUserId
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getSampleRate
public int getSampleRate() -
setSampleRate
public void setSampleRate(int sampleRate) -
getChannels
public int getChannels() -
setChannels
public void setChannels(int channels) -
getData
public byte[] getData() -
setData
public void setData(byte[] data) -
getLen
public int getLen() -
setLen
public void setLen(int len) -
toString
-