]> git.alsa-project.org Git - alsa-utils.git/commit
amidi: restore space between bytes
authorJohn Keeping <john@metanate.com>
Wed, 13 Jul 2022 15:04:09 +0000 (16:04 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 4 Nov 2022 21:01:19 +0000 (22:01 +0100)
commit4daf22b278662721a59ccbb6ca33c8719f7f1565
tree926909c1a55b79edb7fde85c7dbfa0d5d7311cc8
parent0e657ca00b56bc06f8dd8f3396e79bc2329725aa
amidi: restore space between bytes

Commit 9a8fcec ("amidi: add timestamp option for dump") removed the
space between bytes when dumping MIDI, changing the output from:

90 45 40
80 45 00

to:

904540
804500

It seems that this was an unintentional side effect of refactoring the
code to add the new timestamp output but the result is less readable
than it was before.

Restore the space between bytes in the same message.

Fixes: 9a8fcec ("amidi: add timestamp option for dump")
Fixes: https://github.com/alsa-project/alsa-utils/pull/158/
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
amidi/amidi.c