diff mbox series

[alsa-utils,08/10] aseqdump: Show SysEx prefix to UMP SysEx data dump

Message ID 20240722175215.8223-9-tiwai@suse.de (mailing list archive)
State New, archived
Headers show
Series Cleanup seq/* stuff and extend aseqsend | expand

Commit Message

Takashi Iwai July 22, 2024, 5:52 p.m. UTC
Show the event prefix "SysEx" for UMP SysEx data.  Otherwise it's
difficult to know what it is.

Fixes: 506097ebb184 ("aseqdump: Show UMP SysEx messages")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 seq/aseqdump/aseqdump.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c
index f717557824ad..7be988fa094b 100644
--- a/seq/aseqdump/aseqdump.c
+++ b/seq/aseqdump/aseqdump.c
@@ -673,6 +673,7 @@  static void dump_ump_sysex_event(const unsigned int *ump)
 	int i, length;
 
 	printf("Group %2d, ", group_number(snd_ump_msg_group(ump)));
+	printf("SysEx ");
 	switch (snd_ump_sysex_msg_status(ump)) {
 	case SND_UMP_SYSEX_STATUS_SINGLE:
 		printf("Single  ");