All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 059aa4: profiles/midi: Fix zero timestampHigh
@ 2026-06-27 18:51 Matthew
  0 siblings, 0 replies; only message in thread
From: Matthew @ 2026-06-27 18:51 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1117512
  Home:   https://github.com/bluez/bluez
  Commit: 059aa4163196e27c54414ad5780adc71a8d95c64
      https://github.com/bluez/bluez/commit/059aa4163196e27c54414ad5780adc71a8d95c64
  Author: Matthew Cash <matthew@matthew-cash.com>
  Date:   2026-06-27 (Sat, 27 Jun 2026)

  Changed paths:
    M profiles/midi/libmidi.c
    M profiles/midi/libmidi.h

  Log Message:
  -----------
  profiles/midi: Fix zero timestampHigh

BLE-MIDI timestampHigh can legitimately be zero. The MIDI parser used
timestamp_high == 0 to decide whether it had already consumed the packet
header, so packets starting with 0x80 0x80 caused the next running-status
payload byte to be consumed as another timestamp header.

Track whether timestampHigh has been read separately from its value so
packed MIDI events with zero timestampHigh are parsed correctly.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-27 18:51 [bluez/bluez] 059aa4: profiles/midi: Fix zero timestampHigh Matthew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.