Skip to content

Commit

Permalink
Merge "msm7x27a: Add missing wired headphone route" into jellybean
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hillenbrand authored and Gerrit Code Review committed Dec 19, 2012
2 parents fbb045f + 3315d86 commit efa5d14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions msm7627a/AudioHardware.cpp
Expand Up @@ -1696,6 +1696,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;
Expand Down

0 comments on commit efa5d14

Please sign in to comment.