Hi,
this is a series of changes for rawmidi and sequencer APIs for
handling the missing piece for UMP v1.1.
UMP v1.1 allows the device updating the Endpoint and the Function
Block information dynamically. The current driver already handles it,
but a few things are still missing:
* The update of rawmidi name
* Notification of EP and FB update via sequencer
The patches cover those missing info.
Also, the current implementation doesn't give a clear idea which UMP
rawmidi device is tied with the legacy rawmidi. The rawmidi info is
extended to indicated the tied device number.
Last but not least, the UMP EP and FB info strings are copied as-is,
which isn't good for the id strings. The copy operation is changed to
be a safer form.
Takashi
===
Takashi Iwai (8):
ALSA: rawmidi: Expose the tied device number in info ioctl
ALSA: rawmidi: Show substream activity in info ioctl
ALSA: rawmidi: Bump protocol version to 2.0.5
ALSA: ump: Copy FB name string more safely
ALSA: ump: Copy safe string name to rawmidi
ALSA: ump: Update rawmidi name per EP name update
ALSA: seq: Allow system notification in atomic
ALSA: seq: Notify UMP EP and FB changes
Documentation/sound/designs/midi-2.0.rst | 18 ++++
include/sound/rawmidi.h | 2 +
include/sound/ump.h | 1 +
include/uapi/sound/asequencer.h | 12 ++-
include/uapi/sound/asound.h | 8 +-
sound/core/rawmidi.c | 4 +
sound/core/seq/seq_clientmgr.c | 12 ++-
sound/core/seq/seq_system.c | 9 +-
sound/core/seq/seq_system.h | 31 +++++--
sound/core/seq/seq_ump_client.c | 40 +++++++-
sound/core/ump.c | 113 ++++++++++++++++++-----
11 files changed, 211 insertions(+), 39 deletions(-)
--
2.43.0
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]