1
0
Fork 0
forked from len0rd/rockbox

Migrate some floating point code to fixed point in libgme.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30493 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-09-10 02:52:12 +00:00
parent 559e0e10f8
commit e8dc7a6d07
5 changed files with 14 additions and 15 deletions

View file

@ -126,7 +126,7 @@ next_track:
/* Set elapsed time for one track files */
if (is_multitrack == 0) {
elapsed_time += (CHUNK_SIZE / 2) / 44.1;
elapsed_time += (CHUNK_SIZE / 2) * 10 / 441;
ci->set_elapsed(elapsed_time);
}
}