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

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

Merge "audio: Return ENODATA when retrieving position fails"

parents bf452da0 e65c2fef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4545,7 +4545,7 @@ static int out_get_presentation_position(const struct audio_stream_out *stream,
                                   uint64_t *frames, struct timespec *timestamp)
{
    struct stream_out *out = (struct stream_out *)stream;
    int ret = -1;
    int ret = -ENODATA;
    unsigned long dsp_frames;

    /* below piece of code is not guarded against any lock because audioFliner serializes