[PATCH (try 2)] dsound: Copy SetFormat format more directly if we're not in PRIMARYWRITE mode
Maarten Lankhorst
maarten.lankhorst at canonical.com
Wed May 29 06:10:56 CDT 2013
NAK.
+ HeapFree(GetProcessHeap(), 0, device->primary_pwfx);
+ device->primary_pwfx = DSOUND_CopyFormat(passed_fmt);
Copy to a tmp buffer first and return E_OUTOFMEMORY instead of reassigning primary_pwfx to NULL?
~Maarten
More information about the wine-devel
mailing list