]> git.alsa-project.org Git - alsa-lib.git/commit
ump_msg: Fix the wrong snd_ump_msg_system_t argument in little-endian
authorTakashi Iwai <tiwai@suse.de>
Wed, 26 Jun 2024 14:53:17 +0000 (16:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Jun 2024 14:53:17 +0000 (16:53 +0200)
commit8734673c21cfa1da0d1fa2c83fb5d4328f7c1c59
tree830e7332c68ec794e3fcdf733d5d7a3e1eda6f6f
parent32e2c8d8a27f572d9738b947b0f2d81e94fbe356
ump_msg: Fix the wrong snd_ump_msg_system_t argument in little-endian

For the little-endian format, the parameters are stored incorrectly
in snd_ump_msg_system_t type.  Swap the both parameter positions to
correct to the right positions.

Fixes: 040356ecf06b ("ump: Add helpers to parse / set UMP packet data")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/ump_msg.h