[PATCH v8 0/4] MR337: winepulse: Return device-specific values for GetMixFormat and GetDevicePeriod
Gabriel Ivăncescu (@insn)
wine at gitlab.winehq.org
Mon Jul 4 14:10:03 CDT 2022
BTW note that the default PA device (i.e. called "PulseAudio") is part of the list, and has empty string pulse_name. You should be able to get rid of the global variables like pulse_fmt (and pulse_def_period, pulse_min_period) and special checks for it since you're removing pulse_config anyway.
Also this means you're probing them twice.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_3274
More information about the wine-devel
mailing list