http://bugs.winehq.org/show_bug.cgi?id=18220
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #4 from Jörg Höhle hoehle@users.sourceforge.net 2010-01-28 04:00:52 ---
No idea why that limit is there.
Perhaps http://msdn.microsoft.com/en-us/library/dd798477%28VS.85%29.aspx "A stream buffer cannot be larger than 64K" => INVALPARAM (which is about midiOutPrepareHeader, while midiInPrepareHeaders says nothing like this).
Now somebody needs to do additional testing to determine when/how midiIn/OutPrepareHeader may return INVALPARAM for buffers >64K and when not, i.e. how to detect a stream buffer. I can add some tests to my emerging MIDI testsuite.
BTW, for comparison I'd like to see a +midi,+winmm,+driver application log with Lauri's hack that permits a larger buffer size.