Rockbox mail archiveSubject: Re: few remaining issues for memory playback, plugin API
From: Björn Stenberg (bjorn_at_haxx.se)
I don't think this overhead is anything to worry about, though. It's only updated a few times per second.
> But you indirectly point me to the fact that this function may rather belong
Yes, I think that is better. The application does not directly control the transition of tracks and should therefore not be responsible for keeping the accurate time either.
> External players can keep their own time if they have to, it's not
On the other hand it's not unreasonable to expect the sink to be able to tell the source for how long the data has been playing. The sink knows this better than any other code.
> My intention was to give direct access to the unmodified function, but well.
The transparent wrapper function can have the same signature, in which case it doesn't matter if it's a direct call or not.
> If we restore the volume for plugin playback, there is still the question of
I can't think of any bad side effects from allowing plugins access to the settings, so I guess I'm in favor of it. :-)
Page was last modified "Jan 10 2012" The Rockbox Crew