File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -602,9 +602,9 @@ enum audio_device_e {
602602
603603// Audio mode
604604enum audio_mode_e {
605- AUDIO_MODE_NORMAL , // device idle
606- AUDIO_MODE_RINGTONE , // device ringing
607- AUDIO_MODE_IN_CALL // audio call connected (VoIP or telephony)
605+ AUDIO_EFFECT_MODE_NORMAL , // device idle
606+ AUDIO_EFFECT_MODE_RINGTONE , // device ringing
607+ AUDIO_EFFECT_MODE_IN_CALL // audio call connected (VoIP or telephony)
608608};
609609
610610// Values for "accessMode" field of buffer_config_t:
Original file line number Diff line number Diff line change @@ -5808,10 +5808,10 @@ uint32_t AudioFlinger::EffectModule::deviceAudioSystemToEffectApi(uint32_t devic
58085808
58095809// update this table when AudioSystem::audio_mode or audio_mode_e (in EffectApi.h) are modified
58105810const uint32_t AudioFlinger::EffectModule::sModeConvTable [] = {
5811- AUDIO_MODE_NORMAL , // AudioSystem::MODE_NORMAL
5812- AUDIO_MODE_RINGTONE , // AudioSystem::MODE_RINGTONE
5813- AUDIO_MODE_IN_CALL , // AudioSystem::MODE_IN_CALL
5814- AUDIO_MODE_IN_CALL // AudioSystem::MODE_IN_COMMUNICATION, same conversion as for MODE_IN_CALL
5811+ AUDIO_EFFECT_MODE_NORMAL , // AudioSystem::MODE_NORMAL
5812+ AUDIO_EFFECT_MODE_RINGTONE , // AudioSystem::MODE_RINGTONE
5813+ AUDIO_EFFECT_MODE_IN_CALL , // AudioSystem::MODE_IN_CALL
5814+ AUDIO_EFFECT_MODE_IN_CALL // AudioSystem::MODE_IN_COMMUNICATION, same conversion as for MODE_IN_CALL
58155815};
58165816
58175817int AudioFlinger::EffectModule::modeAudioSystemToEffectApi (uint32_t mode)
You can’t perform that action at this time.
0 commit comments