Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c3ba1a8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "audio:fix audio stream issue." am: e90a207d am: e5a5b3f3

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1936189

Change-Id: I163a6ead17d5bf0b4deb09571c90e4f1cc87ecde
parents eb8c6eab e5a5b3f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -595,6 +595,7 @@ bool AudioStream::collidesWithCallback() const {

void AudioStream::setDuckAndMuteVolume(float duckAndMuteVolume) {
    ALOGD("%s() to %f", __func__, duckAndMuteVolume);
    std::lock_guard<std::mutex> lock(mStreamLock);
    mDuckAndMuteVolume = duckAndMuteVolume;
    doSetVolume(); // apply this change
}