• Jörg Höhle's avatar
    winmm: MIDIHDR.dwOffset is set with MEVT_F_CALLBACK only. · a8f1d2eb
    Jörg Höhle authored
    At the same time, the change to the player loop prevents a buffer
    overshoot and a (perhaps unlikely) program trace where a sequence
    Suspend; Stop; midiStreamOut could send MOM_DONE twice and access
    memory possibly released within a MOM_DONE DCB_FUNCTION callback.
    a8f1d2eb
winmm.c 84.6 KB