http://bugs.winehq.org/show_bug.cgi?id=32489
Bug #: 32489 Summary: SetTimer does not respect the appropriate minimum timeout Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: NEW Keywords: patch Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu Classification: Unclassified
Created attachment 42859 --> http://bugs.winehq.org/attachment.cgi?id=42859 user32: SetTimer should respect the minimum and maximum timeout limits.
According to MSDN, SetTimer has a minimum timer value of 10 milliseconds. Currently, Wine uses a minimum timer value of 55 milliseconds. This behavior poses a problem for Silverlight, which uses SetTimer to handle redrawing the display. Since Silverlight expects to repaint the display at about 24 FPS (41.6 milliseconds), the 55 millisecond timer value is insufficient. By dropping the minimum timer value to 10 milliseconds Silverlight will then be able to repaint the display fast enough to show movies without having choppy playback.