mciseq: The native MCI sequencer cannot record.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Nov 12 07:42:25 CST 2010


Hi,

I never found a machine that supports MCI_RECORD with the mciseq.dll
nor a hint from return codes on native that "record" may not work
for the simple reason that I only tested machines without MIDI hardware.

I believe native mciseq.dll does not implement recording.  Therefore
Wine shouldn't either, as no app would ever use that code.
(Perhaps it takes more than a "record" command to properly create MIDI tracks?)

The code in Wine is 10 years old and was never put into workable state
(short proof: midiInOpen is never called).  As I'm planning a rewrite
of the sequencer thread, I want to get rid of dead code first.


While I was at it, I fixed the return value from UNREC'COMMAND to
UNSUPP'FUNCTION (string commands yield UNREC'COMMAND because the
MCI parser complains and the command never reaches the driver, whereas
mciSendCommand hits the driver and yields the true return code:
UNSUPPORTED_FUNCTION).

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mciseq-The-native-MCI-sequencer-cannot-record.patch
Type: application/octet-stream
Size: 6916 bytes
Desc: 0001-mciseq-The-native-MCI-sequencer-cannot-record.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101112/ec99d224/attachment.obj>


More information about the wine-patches mailing list