Loading services/audioflinger/AudioFlinger.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -2551,6 +2551,7 @@ AudioHwDevice* AudioFlinger::loadHwModule_ll(const char *name) bool mm; if (OK == dev->getMasterMute(&mm)) { mMasterMute = mm; ALOGI_IF(mMasterMute, "%s: applying mute from HAL %s", __func__, name); } } Loading services/audioflinger/Threads.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -11061,7 +11061,7 @@ void MmapPlaybackThread::checkSilentMode_l() char *endptr; unsigned long ul = strtoul(value, &endptr, 0); if (*endptr == '\0' && ul != 0) { ALOGD("Silence is golden"); ALOGW("%s: mute from ro.audio.silent. Silence is golden", __func__); // The setprop command will not allow a property to be changed after // the first time it is set, so we don't have to worry about un-muting. setMasterMute_l(true); Loading services/audioflinger/Tracks.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -1674,7 +1674,7 @@ void Track::processMuteEvent_l(const sp< if (result == OK) { ALOGI("%s(%d): processed mute state for port ID %d from %d to %d", __func__, id(), mPortId, int(muteState), int(mMuteState)); static_cast<int>(mMuteState), static_cast<int>(muteState)); mMuteState = muteState; } else { ALOGW("%s(%d): cannot process mute state for port ID %d, status error %d", __func__, id(), Loading Loading @@ -3554,6 +3554,8 @@ void MmapTrack::processMuteEvent_l(const sp<IAudioManager>& audioManager, mute_s } if (result == OK) { ALOGI("%s(%d): processed mute state for port ID %d from %d to %d", __func__, id(), mPortId, static_cast<int>(mMuteState), static_cast<int>(muteState)); mMuteState = muteState; } else { ALOGW("%s(%d): cannot process mute state for port ID %d, status error %d", Loading Loading
services/audioflinger/AudioFlinger.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -2551,6 +2551,7 @@ AudioHwDevice* AudioFlinger::loadHwModule_ll(const char *name) bool mm; if (OK == dev->getMasterMute(&mm)) { mMasterMute = mm; ALOGI_IF(mMasterMute, "%s: applying mute from HAL %s", __func__, name); } } Loading
services/audioflinger/Threads.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -11061,7 +11061,7 @@ void MmapPlaybackThread::checkSilentMode_l() char *endptr; unsigned long ul = strtoul(value, &endptr, 0); if (*endptr == '\0' && ul != 0) { ALOGD("Silence is golden"); ALOGW("%s: mute from ro.audio.silent. Silence is golden", __func__); // The setprop command will not allow a property to be changed after // the first time it is set, so we don't have to worry about un-muting. setMasterMute_l(true); Loading
services/audioflinger/Tracks.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -1674,7 +1674,7 @@ void Track::processMuteEvent_l(const sp< if (result == OK) { ALOGI("%s(%d): processed mute state for port ID %d from %d to %d", __func__, id(), mPortId, int(muteState), int(mMuteState)); static_cast<int>(mMuteState), static_cast<int>(muteState)); mMuteState = muteState; } else { ALOGW("%s(%d): cannot process mute state for port ID %d, status error %d", __func__, id(), Loading Loading @@ -3554,6 +3554,8 @@ void MmapTrack::processMuteEvent_l(const sp<IAudioManager>& audioManager, mute_s } if (result == OK) { ALOGI("%s(%d): processed mute state for port ID %d from %d to %d", __func__, id(), mPortId, static_cast<int>(mMuteState), static_cast<int>(muteState)); mMuteState = muteState; } else { ALOGW("%s(%d): cannot process mute state for port ID %d, status error %d", Loading