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

Claire (@ClearlyClaire) wine at gitlab.winehq.org
Tue Jul 5 10:18:20 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).

--
  v12: 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: Fix memory leak in pulse_create_stream in some error cases
       winepulse: Remove unused pulse_config
       winepulse: Return device-specific values for GetDevicePeriod
 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337



More information about the wine-devel mailing list