Agora Java API Reference for Android
Static Public Member Functions | Public Attributes | List of all members
io.agora.mediaplayer.Constants.AudioDualMonoMode Enum Reference

The channel mode. More...

Static Public Member Functions

static int getValue (AudioDualMonoMode mode)
 

Public Attributes

 AUDIO_DUAL_MONO_STEREO =(0)
 
 AUDIO_DUAL_MONO_L =(1)
 
 AUDIO_DUAL_MONO_R =(2)
 
 AUDIO_DUAL_MONO_MIX =(3)
 

Detailed Description

The channel mode.

Member Data Documentation

◆ AUDIO_DUAL_MONO_STEREO

io.agora.mediaplayer.Constants.AudioDualMonoMode.AUDIO_DUAL_MONO_STEREO =(0)

0: Original mode.

◆ AUDIO_DUAL_MONO_L

io.agora.mediaplayer.Constants.AudioDualMonoMode.AUDIO_DUAL_MONO_L =(1)

1: Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel.

◆ AUDIO_DUAL_MONO_R

io.agora.mediaplayer.Constants.AudioDualMonoMode.AUDIO_DUAL_MONO_R =(2)

2: Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel.

◆ AUDIO_DUAL_MONO_MIX

io.agora.mediaplayer.Constants.AudioDualMonoMode.AUDIO_DUAL_MONO_MIX =(3)

3: Mixed channel mode. This mode mixes the audio of the left channel and the right channel, which means the user can hear the audio of the left channel and the right channel at the same time.