summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNicholas Hobson <nicholas.hobson@outlook.com>2026-09-12 03:28:42 +0000
committerTakashi Iwai <tiwai@suse.de>2026-09-14 18:25:09 +0200
commit2e4c9ab2574eeaa7b893c7d35b4a9f60fd681ddd (patch)
treef8ce047bd6f25b7734ad42c6fcfa9e1c35fe4bcb /tools/lib/python
parent5b6ea1bb8af9d554104c7f4120f61712d56e31ed (diff)
ALSA: usb-audio: keep MIDI input running for Roland TD-11
The TD-11 hands MIDI handling off to the host once connected via USB. If no MIDI input port is opened on the host, the device itself becomes unusable as a standalone instrument until its input is serviced, independent of anything happening on the computer. Add a per-device keep_input_running flag, set for the TD-11 in snd_usbmidi_detect_roland(), and check it alongside the existing opened[1] check in snd_usbmidi_input_start()/snd_usbmidi_input_stop() so that input is started at device creation and never stopped for these devices, regardless of whether a client has the input port open. Signed-off-by: Nicholas Hobson <nicholas.hobson@outlook.com> Link: https://patch.msgid.link/MN2PR15MB3472557AF39DC3A4CA9E753FF8BD2@MN2PR15MB3472.namprd15.prod.outlook.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions