Re: [RFC] ff-memless instant starting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.12.2009 21:38, Dmitry Torokhov wrote:
> On Wed, Dec 23, 2009 at 03:31:14PM +0200, Jari Vanhala wrote:
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux