[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
Fri Nov 11 22:57:25 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=28723
Raymond <superquad.vortex2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |superquad.vortex2 at gmail.com
--- Comment #47 from Raymond <superquad.vortex2 at gmail.com> 2011-11-11 22:57:25 CST ---
(In reply to comment #21)
> Interesting issue.
> I've never seen native tests report anything else beside 10.0000 and 10.1587ms
> (alignment for Intel HDA) shared mode default periods. So reporting anything
> else is out of question.
>
> However, what native is said to do and Wine doesn't is to clamp period and
> duration. From what I've read (but not yet tested, which is why I've not yet
> written that patch),
> - max duration is 2s in shared mode, 500ms in exclusive mode
> - min. duration should probably be 3*period (at least for Wine)
> - min period is 3ms (from GetDefaultPeriod)
> - max period is 100ms (I think I read that somewhere)
>
> Note that Wine still has a related bug: it must ignore period in shared mode.
>
http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=2ae66c26550cd94b0e2606a9275eb0ab7070ad0e
Unless you are using intel hda controller, you won't get exactly 10ms period
time by default
Min period of 3 ms is not supported by all alsa sound drivers (e.g. ymf724
which update hw_ptr in 5.333 ms intervals)
--
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