]> git.alsa-project.org Git - alsa-lib.git/commit
rawmidi: Extensions for tied device and substream inactive flag
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Jan 2025 14:24:11 +0000 (15:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jan 2025 15:46:50 +0000 (16:46 +0100)
commit137eca7720be69f0ef46afb6d30332b21d89b8b5
tree2764ac478bf2e19ac0e2258b28565594dfd29316
parente1cf4d3f6841d54e046f2a1b4a6151c8041cc2c2
rawmidi: Extensions for tied device and substream inactive flag

This is the enhancements of rawmidi API for the new feature added in
6.14 kernel: the indication of a tied device and the inactive flag for
the selected substream.

The new function is added for obtaining the tied device,
snd_rawmidi_info_get_tied_device().

And the new bit flag is defined for indicating the inactive
substream, SNDRV_RAWMIDI_INFO_STREAM_INACTIVE, which is exposed via
snd_rawmidi_info_get_flags().

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