mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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: 040356ecf0 ("ump: Add helpers to parse / set UMP packet data")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
32e2c8d8a2
commit
8734673c21
1 changed files with 1 additions and 1 deletions
|
|
@ -157,8 +157,8 @@ typedef struct snd_ump_msg_system {
|
|||
uint8_t parm1; /**< First parameter */
|
||||
uint8_t parm2; /**< Second parameter */
|
||||
#else
|
||||
uint8_t parm1; /**< First parameter */
|
||||
uint8_t parm2; /**< Second parameter */
|
||||
uint8_t parm1; /**< First parameter */
|
||||
uint8_t status; /**< Status */
|
||||
uint8_t group:4; /**< UMP Group */
|
||||
uint8_t type:4; /**< UMP packet type */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue