|
Server Gateway SDK v3.7.200.21 for Linux Java
|
Public Member Functions | |
| AudioSinkWants () | |
| AudioSinkWants (int samplesPerSec, int channels) | |
| int | getSamplesPerSec () |
| void | setSamplesPerSec (int samplesPerSec) |
| int | getChannels () |
| void | setChannels (int channels) |
Properties of audio frames expected by a sink.
| io.agora.rtc.AudioSinkWants.AudioSinkWants | ( | ) |
| io.agora.rtc.AudioSinkWants.AudioSinkWants | ( | int | samplesPerSec, |
| int | channels | ||
| ) |
Constructor.
| samplesPerSec | The sample rate of the audio frame to be sent to the sink. |
| channels | The number of audio channels of the audio frame to be sent to the sink. |
| int io.agora.rtc.AudioSinkWants.getChannels | ( | ) |
| int io.agora.rtc.AudioSinkWants.getSamplesPerSec | ( | ) |
| void io.agora.rtc.AudioSinkWants.setChannels | ( | int | channels | ) |
| void io.agora.rtc.AudioSinkWants.setSamplesPerSec | ( | int | samplesPerSec | ) |