◆ AudioPcmFrame() [1/2]
| io.agora.rtc.AudioPcmFrame.AudioPcmFrame |
( |
| ) |
|
◆ AudioPcmFrame() [2/2]
| io.agora.rtc.AudioPcmFrame.AudioPcmFrame |
( |
int |
captureTimestamp, |
|
|
int |
samplesPerChannel, |
|
|
int |
sampleRateHz, |
|
|
int |
numChannels, |
|
|
int |
bytesPerSample, |
|
|
short |
data |
|
) |
| |
Constructor.
- Parameters
-
| captureTimestamp | The timestamp (ms) of the audio frame. |
| samplesPerChannel | The number of samples per channel. |
| sampleRateHz | The sample rate (Hz) of the audio data. |
| numChannels | The number of audio channels (data is interleaved, if stereo). |
| bytesPerSample | The number of bytes per sample. |
| data | The audio frame data. |
◆ getBytesPerSample()
| int io.agora.rtc.AudioPcmFrame.getBytesPerSample |
( |
| ) |
|
◆ getCaptureTimestamp()
| int io.agora.rtc.AudioPcmFrame.getCaptureTimestamp |
( |
| ) |
|
◆ getData()
| short io.agora.rtc.AudioPcmFrame.getData |
( |
| ) |
|
◆ getNumChannels()
| int io.agora.rtc.AudioPcmFrame.getNumChannels |
( |
| ) |
|
◆ getSampleRateHz()
| int io.agora.rtc.AudioPcmFrame.getSampleRateHz |
( |
| ) |
|
◆ getSamplesPerChannel()
| int io.agora.rtc.AudioPcmFrame.getSamplesPerChannel |
( |
| ) |
|
◆ setBytesPerSample()
| void io.agora.rtc.AudioPcmFrame.setBytesPerSample |
( |
int |
bytesPerSample | ) |
|
◆ setCaptureTimestamp()
| void io.agora.rtc.AudioPcmFrame.setCaptureTimestamp |
( |
int |
captureTimestamp | ) |
|
◆ setData()
| void io.agora.rtc.AudioPcmFrame.setData |
( |
short |
data | ) |
|
◆ setNumChannels()
| void io.agora.rtc.AudioPcmFrame.setNumChannels |
( |
int |
numChannels | ) |
|
◆ setSampleRateHz()
| void io.agora.rtc.AudioPcmFrame.setSampleRateHz |
( |
int |
sampleRateHz | ) |
|
◆ setSamplesPerChannel()
| void io.agora.rtc.AudioPcmFrame.setSamplesPerChannel |
( |
int |
samplesPerChannel | ) |
|
The documentation for this class was generated from the following file: