public class ZoomSDKAudioRawData
extends java.lang.Object
IZoomSDKAudioRawDataDelegate.onMixedAudioRawDataReceived(ZoomSDKAudioRawData)
Constructor and Description |
---|
ZoomSDKAudioRawData(java.nio.ByteBuffer buffer,
int bufferLen,
int sampleRate,
int channel,
long nativeHandle) |
ZoomSDKAudioRawData(java.nio.ByteBuffer buffer,
int bufferLen,
int sampleRate,
long nativeHandle) |
Modifier and Type | Method and Description |
---|---|
void |
addRef() |
boolean |
canAddRef() |
java.nio.ByteBuffer |
getBuffer()
Get audio buffer
|
int |
getBufferLen()
Get buffer data length
|
int |
getChannelNum() |
int |
getSampleRate()
Get audio sample rate
|
void |
releaseRef() |
void |
setBuffer(java.nio.ByteBuffer buffer) |
void |
setBufferLen(int bufferLen) |
void |
setChannelNum(int channelNum) |
void |
setSampleRate(int sampleRate) |
public ZoomSDKAudioRawData(java.nio.ByteBuffer buffer, int bufferLen, int sampleRate, int channel, long nativeHandle)
public ZoomSDKAudioRawData(java.nio.ByteBuffer buffer, int bufferLen, int sampleRate, long nativeHandle)
public boolean canAddRef()
public void addRef()
public void releaseRef()
public java.nio.ByteBuffer getBuffer()
ByteBuffer
public void setBuffer(java.nio.ByteBuffer buffer)
public int getBufferLen()
public void setBufferLen(int bufferLen)
public int getSampleRate()
public void setSampleRate(int sampleRate)
public int getChannelNum()
public void setChannelNum(int channelNum)