[Bug 50703] New: number of midi ports limited to 16
https://bugs.winehq.org/show_bug.cgi?id=50703 Bug ID: 50703 Summary: number of midi ports limited to 16 Product: Wine Version: 6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winmm&mci Assignee: wine-bugs(a)winehq.org Reporter: bugs.winehq.org(a)mrtoasted.com Distribution: --- As mentioned on the forum https://forum.winehq.org/viewtopic.php?t=33605&p=126857 the number of midi ports are arbitrarily limited to the first 16 that are found. If I add up all midi devices (physical or virtual) I can easily get way beyond this number, which means that I often can't select the port I actually want to use. Please allow wine to list all available midi ports (physical + virtual) on the system. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50703 --- Comment #1 from dreamer <bugs.winehq.org(a)mrtoasted.com> --- Apparently this is hardcoded here? -> https://github.com/wine-mirror/wine/blob/e909986e6ea5ecd49b2b847f321ad89b2ae... Suggestion to increase these lines to something higher, say 64 or 128 (in my studio I can easily get to 30 ports). Will try soon-ish if this works without problems. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50703 --- Comment #2 from dreamer <bugs.winehq.org(a)mrtoasted.com> --- I finally got a round to try a build setting the maximum to 64 and it works totally fine! The comment mentions a refactor that would allow for an "unbound" amount of devices, which ultimately would be ideal. However I do not have any idea on how to do this. For now 64 would be "enough for me", even though I can totally see someone surpassing this number. Especially considering that it includes all software ports on top of connected hardware. Should I make a PR to do this initial increase, or wait for someone to figure out the unbound case? For me it's really problematic that I have to turn off software and disconnect devices, just so I can select the device that I want. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50703 sirjohndfox(a)protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sirjohndfox(a)protonmail.com --- Comment #3 from sirjohndfox(a)protonmail.com --- Thanks so much, this has been bugging me for a long time too - I have a large multiport interface and extra usb devices. Manually patched. Hopefully it makes it in properly one day. I think there may be some misunderstanding on the devs part about the nature of the problem. There's absolutely cases where more than 16 port are necessary. Cheers. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50703 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #4 from Zeb Figura <z.figura12(a)gmail.com> --- (In reply to sirjohndfox from comment #3)
I think there may be some misunderstanding on the devs part about the nature of the problem.
There's absolutely cases where more than 16 port are necessary.
I don't think there was any such comment? The only non-clerical feedback in [1] I see is a request to remove the limit altogether. [1] https://gitlab.winehq.org/wine/wine/-/merge_requests/1893 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla