AdvancedAudioOptions
音频的高级选项。
Java
public class AdvancedAudioOptions {
public enum AgoraAudioProcessChannels {
AGORA_AUDIO_MONO_PROCESSING(1),
AGORA_AUDIO_STEREO_PROCESSING(2);
private int value;
private AgoraAudioProcessChannels(int v) {
value = v;
}
public int getValue() {
return this.value;
}
}
public AgoraAudioProcessChannels audioProcessingChannels;
public AdvancedAudioOptions(AgoraAudioProcessChannels channels) {
audioProcessingChannels = channels;
}
public AdvancedAudioOptions() {
audioProcessingChannels = AgoraAudioProcessChannels.AGORA_AUDIO_MONO_PROCESSING;
}
}
audioProcessingChannels
音频前处理的声道数。详见 AgoraAudioProcessChannels。