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

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

Merge "hal: use 0 as default return value for out_get_render_position"

parents b071dadb cab368d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2018,7 +2018,7 @@ static int out_get_render_position(const struct audio_stream_out *stream,
{
    struct stream_out *out = (struct stream_out *)stream;
    if (is_offload_usecase(out->usecase) && (dsp_frames != NULL)) {
        ssize_t ret =  -EINVAL;
        ssize_t ret = 0;
        *dsp_frames = 0;
        pthread_mutex_lock(&out->lock);
        if (out->compr != NULL) {