[PATCH 1/3] winmm: Prefer using MMSYSERR_* over AUDCLNT_E_* from mmdevapi. (resend)

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Tue Nov 6 08:00:44 CST 2012


Hi,

[when I corrected PATCH 2 I didn't realize that 1-3 were sent 2 weeks ago]

I believe code should express lower-level errors using its own ASAP.

>+    mr = WINMM_BeginPlaying(device);
>     LeaveCriticalSection(&device->lock);
Using winmm-level errors allows for a nicer flow of the code
than when carrying mmdevapi errors throughout.

Regards,
        Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Prefer-using-MMSYSERR_-over-AUDCLNT_E_-from.patch
Type: application/octet-stream
Size: 3632 bytes
Desc: 0001-winmm-Prefer-using-MMSYSERR_-over-AUDCLNT_E_-from.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121106/40933322/attachment-0001.obj>


More information about the wine-patches mailing list