23 Jun
2023
23 Jun
'23
6:46 a.m.
Huw Davies (@huw) commented about dlls/winealsa.drv/mmdevdrv.c:
- params.duration = duration; - params.period = period; - params.fmt = fmt; - params.channel_count = &channel_count; - params.stream = &stream; - - ALSA_CALL(create_stream, ¶ms); - - free(name); - - if(FAILED(params.result)){ - sessions_unlock(); - return params.result; - } - - This->vols = HeapAlloc(GetProcessHeap(), 0, channel_count * sizeof(float)); This is changing the allocator for `vols`, so you'll need commits that change that first.
As this MR is already too long, let's split this into a new one and leave the first seven or eight commits here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3112#note_36612