4 Jul
2022
4 Jul
'22
8:28 a.m.
On Mon Jul 4 07:52:00 2022 +0000, Huw Davies wrote:
Ah right, in the pulse driver we cache these at the start. I'd suggest making this more like the alsa driver, where we unconditionally call into the unixlib for both `GetMixFormat()` and `GetDevicePeriod()`. You mean moving the `pulse_name[0]` check to the unixlib, or probing the device each time? If the latter, I am not sure how to do that, as the PulseAudio APIs are asynchronous and the GetMixFormat/GetDevicePeriod APIs are synchronous.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_3188