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

Commit 91bfe690 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: fix incorrect VOIP volume when device switch"

parents dbf66079 ba786438
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3731,8 +3731,9 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs)
                    out->a2dp_compress_mute = false;
                    out_set_compr_volume(&out->stream, out->volume_l, out->volume_r);
                    pthread_mutex_unlock(&out->compr_mute_lock);
                } else if (out->usecase == USECASE_AUDIO_PLAYBACK_VOIP) {
                    out_set_voip_volume(&out->stream, out->volume_l, out->volume_r);
                }

            }
        }