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

Commit a15d7e97 authored by Naresh Tanniru's avatar Naresh Tanniru Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix improper timestamp update for Mmap record path

- Update proper timestamp datatype conversion to fix
  improper timestamp caluclation

Change-Id: I6847875d9ca67ff0f9e7c0441d8510dec891f4c4
parent ed8badd9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5833,7 +5833,7 @@ static int in_get_mmap_position(const struct audio_stream_in *stream,
        ALOGE("%s: %s", __func__, pcm_get_error(in->pcm));
        return ret;
    }
    position->time_nanoseconds = ts.tv_sec*1000000000L + ts.tv_nsec;
    position->time_nanoseconds = ts.tv_sec*1000000000LL + ts.tv_nsec;
    return 0;
}