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

Commit 1a711c9c authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 3ee22f5f on remote branch

Change-Id: I5701d3380f4de48905b2d5576bc32b274eecca2b
parents c8f623d3 3ee22f5f
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3039,8 +3039,12 @@ static int out_flush(struct audio_stream_out* stream)
    if (is_offload_usecase(out->usecase)) {
        ALOGD("copl(%p):calling compress flush", out);
        lock_output_stream(out);
        if (out->offload_state == OFFLOAD_STATE_PAUSED) {
            stop_compressed_output_l(out);
            out->written = 0;
        } else {
            ALOGW("%s called in invalid state %d", __func__, out->offload_state);
        }
        pthread_mutex_unlock(&out->lock);
        ALOGD("copl(%p):out of compress flush", out);
        return 0;
+0 −3
Original line number Diff line number Diff line
@@ -118,9 +118,6 @@ int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id)

    session->state.current = CALL_INACTIVE;

    if (!voice_is_call_state_active(adev))
        adev->voice.in_call = false;

    /* Disable sidetone only when no calls are active */
    if (!voice_is_call_state_active(adev))
        voice_set_sidetone(adev, uc_info->out_snd_device, false);