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

Commit 29f8d291 authored by Ben Romberger's avatar Ben Romberger
Browse files

mm-audio: omx: Fix OMX encoders timestamp

Timestamp format of encoder output structure
incorrect. Timestamp is of format of
least significant bits first. Encoder
out structure formated incorrectly to
expect most significant bits first.

Change-Id: I9cc152dfc8ccb6dc78f715461a2bece1fe2a7819
parent a55b4b5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -414,8 +414,8 @@ private:
        unsigned int offset_to_frame;
        unsigned int frame_size;
        unsigned int encoded_pcm_samples;
        unsigned int msw_ts;
        unsigned int lsw_ts;
        unsigned int msw_ts;
        unsigned int nflags;
    } __attribute__ ((packed))ENC_META_OUT;

+1 −1
Original line number Diff line number Diff line
@@ -341,8 +341,8 @@ private:
        unsigned int offset_to_frame;
        unsigned int frame_size;
        unsigned int encoded_pcm_samples;
        unsigned int msw_ts;
        unsigned int lsw_ts;
        unsigned int msw_ts;
        unsigned int nflags;
    } __attribute__ ((packed))ENC_META_OUT;

+1 −1
Original line number Diff line number Diff line
@@ -342,8 +342,8 @@ private:
        unsigned int offset_to_frame;
        unsigned int frame_size;
        unsigned int encoded_pcm_samples;
        unsigned int msw_ts;
        unsigned int lsw_ts;
        unsigned int msw_ts;
        unsigned int nflags;
    } __attribute__ ((packed))ENC_META_OUT;

+1 −1
Original line number Diff line number Diff line
@@ -342,8 +342,8 @@ private:
        unsigned int offset_to_frame;
        unsigned int frame_size;
        unsigned int encoded_pcm_samples;
        unsigned int msw_ts;
        unsigned int lsw_ts;
        unsigned int msw_ts;
        unsigned int nflags;
    } __attribute__ ((packed))ENC_META_OUT;