15 Sep
2022
15 Sep
'22
8:20 a.m.
Huw Davies (@huw) commented about dlls/winecoreaudio.drv/coreaudio.c:
stream->period_ms = params->period / 10000; stream->period_frames = muldiv(params->period, stream->fmt->nSamplesPerSec, 10000000); - stream->dev_id = params->dev_id; + stream->dev_id = strtoul(params->device, NULL, 10);
I know it's simple, but perhaps we could have a `dev_id_from_device()` helper as it's used a few times. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/813#note_8490