Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on May 08, 2012
Laxminath Kasam hardware/qcom: 8660: Fix to mute issue from second voip call
- Make a voip call, mute the mic and end the call.
Now make another voip call, observe mic mute still
present.
- the mute flag related to voip session is not reset
when the call ended. It will result in carry forwarding
the mute to next new voip session and remains muted
until the mic Mute button is pressed again.
- Reset the mute flag of voip and voice session
at the end of respective call sessions.

CRs-Fixed: 343241
(cherry picked from commit dff334e)

Change-Id: Id09380338421fcb6c1d8098ac258505fc3d0f772
3d20fd4
@mantera Merge branch 'ics' of git://github.com/CyanogenMod/android_hardware_q…
…com_media into ics
e026dad
Showing with 3 additions and 0 deletions.
  1. +3 −0 audio/msm8x60/AudioHardware.cpp
View
3 audio/msm8x60/AudioHardware.cpp
@@ -1778,6 +1778,7 @@ static status_t do_route_audio_rpc(uint32_t device,
LOGD("Ending Voice call");
msm_end_voice_ext(voice_session_id);
voice_session_id = 0;
+ voice_session_mute = 0;
#else
msm_end_voice();
#endif
@@ -3356,6 +3357,7 @@ status_t AudioHardware::AudioStreamOutDirect::standby()
mFd = mHardware->mVoipFd = -1;
LOGV("driver closed");
voip_session_id = 0;
+ voip_session_mute = 0;
}
}
#endif
@@ -4287,6 +4289,7 @@ status_t AudioHardware::AudioStreamInVoip::standby()
LOGV("driver closed");
isDriverClosed = true;
voip_session_id = 0;
+ voip_session_mute = 0;
}
mState = AUDIO_INPUT_CLOSED;
}

No commit comments for this range

Something went wrong with that request. Please try again.