iolsen / harmonium

Automatically exported from code.google.com/p/harmonium
GNU Affero General Public License v3.0
0 stars 0 forks source link

Elapsed song time updates aren't perfectly fluid. #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On the Now Playing screen, the time ticking away in the current song seems
to tick 2 seconds quickly, then delay a bit.  The second increment is
visually not quite right. 

Charles says:
This one might be impossible without a really big rewrite. The elapsed
information is transmitted from the server in the EVT_RSRC_INFO events, and
if I recall correctly the documentation explicitly states that there is no
guarantees on the frequency of those events being received. We're sort of
at the mercy of those events being received, unless we try to predict their
arrival which has obvious problems with pausing, fast forwarding, and
rewinding. Any internal timer would be unable to take into account network
lag, etc. I don't see a way around the problem. Do you? 

Original issue reported on code.google.com by ian.ol...@gmail.com on 24 Dec 2009 at 2:50

GoogleCodeExporter commented 9 years ago

Original comment by ian.ol...@gmail.com on 24 Dec 2009 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by ian.ol...@gmail.com on 24 Dec 2009 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by ian.ol...@gmail.com on 24 Dec 2009 at 3:39

GoogleCodeExporter commented 9 years ago
Not a big deal, and difficult to fix.

Original comment by ian.ol...@gmail.com on 23 Jan 2010 at 5:37