]> git.alsa-project.org Git - alsa-lib.git/commit
ump_msg: Add a new helper snd_ump_get_byte()
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Jul 2024 08:46:11 +0000 (10:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Jul 2024 08:54:53 +0000 (10:54 +0200)
commit28948f2fccb389b0239819bf8effa72d57fe37af
tree459b1294315280b9d114a1364188a4e1bd816363
parent530e2f8131802a8861178a79754bcf79e3ceaa14
ump_msg: Add a new helper snd_ump_get_byte()

For making it easier to extract a byte from the UMP packet no matter
which endian is used, introduce a new helper function
snd_ump_get_byte().  It'll be useful for retrieving SysEx byte or a
name string.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/ump_msg.h