Skip to content
Permalink
Browse files

Audio: Add missing wired headphone route

  • Loading branch information
Fagulhas committed Dec 20, 2012
1 parent 3c88058 commit d0f6358b8ef41b5df2730e1d81e829945ec54079
Showing with 4 additions and 0 deletions.
  1. +4 −0 audio/AudioHardware.cpp
@@ -1867,6 +1867,10 @@ status_t AudioHardware::doRouting(AudioStreamInMSM72xx *input)
ALOGI("Routing audio to Wired Headset\n");
new_snd_device = SND_DEVICE_HEADSET;
new_post_proc_feature_mask = (ADRC_ENABLE | EQ_ENABLE | RX_IIR_ENABLE | MBADRC_ENABLE);
} else if (outputDevices & AudioSystem::DEVICE_OUT_WIRED_HEADPHONE) {
ALOGI("Routing audio to Wired Headphone\n");
new_snd_device = SND_DEVICE_HEADSET;
new_post_proc_feature_mask = (ADRC_ENABLE | EQ_ENABLE | RX_IIR_ENABLE | MBADRC_ENABLE);
} else if (outputDevices & AudioSystem::DEVICE_OUT_SPEAKER) {
ALOGI("Routing audio to Speakerphone\n");
new_snd_device = SND_DEVICE_SPEAKER;

0 comments on commit d0f6358

Please sign in to comment.
You can’t perform that action at this time.