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

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

Merge "hal_mpq: Fix the underrun issue in the offload playback"

parents 87806a29 fdb08f41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2139,6 +2139,7 @@ static int write_data(struct stream_out *out, struct alsa_handle *handle,
        /* TODO:disnable this if ms12 */

        if (ret >= 0 && ret < (ssize_t)bytes) {
            handle->cmd_pending = true;
            send_offload_cmd_l(out, OFFLOAD_CMD_WAIT_FOR_BUFFER);
        }
        return ret;