There are still some issues I need to fix, mainly around timing conversion between MIDI and dmusic. Right now MIDI files seem to be cut off before the end is reached.
Please have a look at the general approach in the meantime, I need to know if this is the right way to do this or not.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4982
--
v3: mfmediaengine: Avoid implicit casts in IMFAttributes_GetUINT32 calls.
mfmediaengine/tests: Use MF_MEDIA_ENGINE_CANPLAY type in IMFMediaEngine_CanPlayType call.
mfplat: Introduce media_type_get_uint32 helper.
mfplat/tests: Use MF_ATTRIBUTE_TYPE type in IMFMediaType_GetItemType call.
mfplat: Avoid implicit cast in IMFAttributes_GetUINT32 call.
mf: Avoid implicit enum to int pointer casts.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4906
Signed-off-by: Fan WenJie <fanwj(a)mail.ustc.edu.cn>
Hook mmap and munmap seem to be the only solution for drivers such as OpenGL to allocate over 32-bit address. For example, Fairy and Sword 4 has some render problems on master branch of wine. The patch can solve the problems.
--
v3: wineandroid.drv: fix incorrent path of device and init device in ANDROID_CreateDesktop
https://gitlab.winehq.org/wine/wine/-/merge_requests/3460
If there's more than one IME update posted during ImeProcessKey we were queuing them all, although the IME will later only call ImeToAsciiEx once with the processed vkey / scan and leave other updates queued.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4980