[Bug 25633] Chip's Challenge crashes Wine after about 10 minutes of gameplay.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 7 19:56:46 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=25633

--- Comment #16 from Raymond <superquad.vortex2 at gmail.com> 2011-01-07 19:56:46 CST ---
The easy fix for using "plughw" with chips is reverse the order of
set_buffer_time() and set_period_time()


-     dir=0;
-     EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params,
&buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time");
      dir=0;
      EXIT_ON_ERROR( snd_pcm_hw_params_set_period_time_near(pcm, hw_params,
&period_time, &dir), MMSYSERR_INVALPARAM, "unable to set period time");
+     dir=0;
+     EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params,
&buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time");

-- 
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