15 Sep
2022
15 Sep
'22
5:41 p.m.
On Thu Sep 15 08:20:53 2022 +0000, Huw Davies wrote:
There shouldn't be any need to export `MAX_DEV_NAME_LEN` from the unixlib (just define it in `coreaudio.c`). Have a look how the alsa driver does this. Basically move `dev_name` to the end of the struct, and allocate enough space in `AUDDRV_GetAudioEndpoint()` once you know the length of the device name. Sounds good, I didn't do it because we know the maximum string length.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/813#note_8561