Opened 13 months ago

Closed 13 days ago

#14675 closed patch (outdated)

ALSA MIDI devices only use show/use the first available port

Reported by: ToddAWalter Owned by: sev-
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

When using a USB MIDI device with more than one port only the first is presented in the GUI and usable. It can be overcome with the SCUMMVM_PORT env variable but it's a simple code change to fix. I've used the attached patch (against git as current as commit 4724090418594238) to access both Part A and B on a Roland SC-D70 as well as various rackmounts attached to a 4-way USB device.

Attachments (1)

midi_port_enable.diff (1.9 KB ) - added by ToddAWalter 13 months ago.
patch against backends/midi/alsa.cpp

Download all attachments as: .zip

Change History (2)

by ToddAWalter, 13 months ago

Attachment: midi_port_enable.diff added

patch against backends/midi/alsa.cpp

comment:1 by sev-, 13 days ago

Owner: set to sev-
Resolution: outdated
Status: newclosed

This patch got kind of lost. Also, it is difficult to review it here.

Would it be possible that ypu submit it via GitHub?

This patches submission exists only for archival purposes from times predating GitHub.

Note: See TracTickets for help on using tickets.