Re: [RFC] ff-memless instant starting
From: Anssi Hannula <hidden>
Date: 2009-12-24 23:52:44
On 23.12.2009 21:38, Dmitry Torokhov wrote:
On Wed, Dec 23, 2009 at 03:31:14PM +0200, Jari Vanhala wrote:quoted
Hi, Looks like starting effect with low HZ machine takes considerably time due need to wait for system timer. Simplest way to make things faster is to do calculation for effect always instantly, like in stopping, but this makes starting multiple effects more costly. Other solution would be making it a module parameter, so behavior could be controlled per machine. Optimize possible cost or speed. I attached small patch which will do that. If starting priority of individual effect is needed to controlled, you probably need to add flag for that to effect itself... I don't know which way FF-api is developing, so this could be either good or bad thing. Any opinions or suggestions? Other than rising HZ. =)I think we should just start playing the effect immediately, without any additional module parameters. I'll queue such patch unless I hear otherwise from Anssi.
Indeed that is ok, no need for a module parameter. -- Anssi Hannula