Standardizing on using milliseconds or seconds in enginecontroller

Ian Monroe ian at monroe.nu
Sat Dec 6 06:17:28 CET 2008


On Fri, Dec 5, 2008 at 10:34 PM, Dan Meltzer
<parallelgrapefruit at gmail.com> wrote:
> Hi,
>
> I would really like to standardize on either using milliseconds or
> seconds everywhere in EngineController.  Theres all sorts of room for
> errors currently, and inconcistancy.  play() expects an offset in
> milliseconds, but trackPosition() returns a time in seconds.  I'm not
> sure which would be better to standardize on, however.  I'd lean to
> milliseconds, but does anyone have a preference one way or the other?
>
> Dan

Milliseconds makes sense, since this is what Phonon uses.

Ian


More information about the Amarok-devel mailing list