[Bug 28723] Sound stutter in Rage when emulated windows version is set to "Windows 7" (XAudio2 -> mmdevapi sound output path)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 10 21:01:36 CST 2011


Alexey Loukianov <mooroon2 at mail.ru> changed:

           What    |Removed                     |Added
  Attachment #37346|0                           |1
        is obsolete|                            |

--- Comment #39 from Alexey Loukianov <mooroon2 at mail.ru> 2011-11-10 21:01:36 CST ---
Created attachment 37437
  --> http://bugs.winehq.org/attachment.cgi?id=37437
Proposed patchset, try #2

Here is patchset that includes my changes to GetCurrentPadding and
alsa_write_data, requesting big-enough ALSA buffer size (I changed it to be at
least 3x of mmdev_period size, or mmdev_buffer size in case it's bigger), and
commented-out request to set ALSA period size. With this pathset applied I've
got almost xrun-free behavior playing Rage with XA2=>mmdevapi sound render
patch active. I still got some xruns, either caused by the game not sending
audio data in time (during level loads, sound subsystem (re)initializations,
e.t.c.), or my workstation not being able to handle load in time (for example
if it is spending cycles in kernel space swaping out memory pages to disk,

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list