[PATCH 0/1] MR337: winepulse: Return device-specific values for GetMixFormat and GetDevicePeriod

Claire (@ClearlyClaire) wine at gitlab.winehq.org
Wed Jun 29 08:39:02 CDT 2022


Oops, sorry about the styling issues, I will address them.

With regards to handling failure, I think it might be more accurate to fail if the device does not exist (maybe with something like `AUDCLNT_E_DEVICE_INVALIDATED`, cf. https://docs.microsoft.com/en-us/windows/win32/api/audioclient/nf-audioclient-iaudioclient-getmixformat) but I don't think it matters much, and I can definitely fall back to the default format if you're more confident with avoiding a potential behavior change.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_2950



More information about the wine-devel mailing list