22 May
2023
22 May
'23
8:36 a.m.
On 19. 05. 23 11:30, Takashi Iwai wrote:
Applications may look for rawmidi devices with the ioctl SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE. Returning a UMP device from this ioctl may confuse the existing applications that support only the legacy rawmidi.
This patch changes the code to skip the UMP devices from the lookup for avoiding the confusion, and introduces a new ioctl to look for the UMP devices instead.
Missing bump of the control API protocol version ?
Otherwise:
Reviewed-by: Jaroslav Kysela perex@perex.cz
--
Jaroslav Kysela perex@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.