winecoreaudio: MOD_MIDIPORT has 0 voices and notes and FFFF ChannelMask.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Feb 3 05:49:43 CST 2010


Hi,

http://msdn.microsoft.com/en-us/library/dd450432.aspx describes some
compliance tests:
"If the device reports that it is external (wTechnology field equals
MOD_MIDIPORT), the wVoices field must equal 0, the wNotes field must
equal 0, the wChannelMask field must equal 0xFFFF, and the dwSupport
field must not have the MIDICAPS_VOLUME, MIDICAPS_LRVOLUME, nor the
MIDICAPS_CACHE flags set."

This is backed by current test data available to me (from Paul).

Here's the patch to comply on MacOS.

I've not yet written the same for ALSA and OSS because currently, both
FluidSynth and Timidity are misdetected as MOD_MIDIPORT, because their
ALSA SND_SEQ_PORT_xyz flags don't allow to identify them as
sequencers.  Although both set different flags, there must be
something wrong with both of them or with ALSA, not Wine.
I haven't tested anything beside Ubuntu Intrepid yet.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winecoreaudio-MOD_MIDIPORT-has-0-voices-and-notes-an.patch
Type: application/octet-stream
Size: 951 bytes
Desc: 0001-winecoreaudio-MOD_MIDIPORT-has-0-voices-and-notes-an.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100203/ccf57a66/attachment.obj>


More information about the wine-patches mailing list