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

Claire (@ClearlyClaire) wine at gitlab.winehq.org
Tue Jul 5 06:07:23 CDT 2022


When `GetMixFormat` or `GetDevicePeriod` are used, return values specific to the selected device instead of those of the default one.
This is especially useful when the audio devices features less channels than one specifically selected by the application.

This patch is part of an attempt to get Sony's DualSense controllers to work with Windows games through Wine. This is not enough by itself, but getting the proper mix format is required for most of those games to correctly use the haptic feedback features of the DualSense (which go through an audio output with 4 audio devices).

--
  v10: winepulse: Don't probe default devices twice
       winepulse: Use stream-specific period in pulse_get_latency
       winepulse: Store and use device period on stream creation
       winepulse: Remove unused pulse_config
       winepulse.drv: do not fallback to global periods in pulse_get_device_period
       winepulse.drv: do not fallback to global pulse_fmt in pulse_get_mix_format
       winepulse: Store device-specific format and periods
 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337



More information about the wine-devel mailing list