Commit: c29241fe129f4a8dbca4adff45eacf9348d6ae2e
Parent: b53fef50969b49f7c2a1376a11677817d3bdcf80
Author: Tedd Ho-Jeong An <tedd.an@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-22 20:13:34
Tree: 3e37b62955255791491359ba2005455eb63ea268

midi: Fix random empty timestamp_high value The timestamp_high value is assigned from the monotonic time but there is a chance that the value becomes zero because it reads the value between bit8 and bit13. This patch makes sure the timestamp_high value get a non-zero value.

Diffstat

M profiles/midi/libmidi.c | 9 +++++++- -

1 files changed, 7 insertions(+), 2 deletions(-)

View Full Diff | Patch