https://bugs.winehq.org/show_bug.cgi?id=54556
Bug ID: 54556 Summary: winmm:midi fails on w11pro64_amd and w11pro64_nv Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
winmm:midi fails on w11pro64_amd and w11pro64_nv:
midi.c:1147: Found 1 MIDI OUT devices midi.c:252: Found 1 MCI sequencer devices midi.c:1155: ** Testing device 0 midi.c:285: * Microsoft GS Wavetable Synth: manufacturer=1, product=27, tech=7, support=1: 32 voices, 32 notes midi.c:304: Test failed: midiOutOpen(dev=0) rc=MMSYSERR_ERROR midi.c:620: Test failed: midiStreamOpen(dev=-2) rc=MMSYSERR_ERROR midi.c:1164: ** Testing MIDI mapper midi.c:285: * Microsoft MIDI Mapper: manufacturer=1, product=1, tech=5, support=9: 0 voices, 0 notes midi.c:304: Test failed: midiOutOpen(dev=-1) rc=MMSYSERR_ERROR midi.c:620: Test failed: midiStreamOpen(dev=-2) rc=MMSYSERR_ERROR
See https://test.winehq.org/data/patterns.html#winmm:midi
Where -1 == MIDIMAPPER -2 is probably udev after being modified by midiStreamOpen()
This is probably because these two test configurations use the graphics card's HDMI out audio device but the 'screen' has no speaker. See bug 54523 for more details. Bug 54538 is probably the same issue too.
It's still strange that midiOutGetNumDevs() returns 1 device when trying to use it does not actually work. Maybe that's a bug in the GPU drivers?
https://bugs.winehq.org/show_bug.cgi?id=54556
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=54556
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Some forum posts say that changing the threading model to COINIT_APARTMENTTHREADED can make a difference but that does not seem to be the case here.