diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-08 18:06:03 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-08-08 18:06:03 +0000 |
commit | c23f576a1cadc88d305ad04be039a2438eb85e14 (patch) | |
tree | c495d7c334ca92148abc11412fafe05a2f0d640c | |
parent | d14c96dc9a739f52c1c07267cf07f808faada8fa (diff) | |
download | rockbox-c23f576a1cadc88d305ad04be039a2438eb85e14.tar.gz rockbox-c23f576a1cadc88d305ad04be039a2438eb85e14.zip |
Remove a floating point calculation from ay codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30268 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/ay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/ay.c b/apps/codecs/ay.c index baccf3d99b..ecadcc957b 100644 --- a/apps/codecs/ay.c +++ b/apps/codecs/ay.c | |||
@@ -128,7 +128,7 @@ next_track: | |||
128 | 128 | ||
129 | /* Set elapsed time for one track files */ | 129 | /* Set elapsed time for one track files */ |
130 | if (!is_multitrack) { | 130 | if (!is_multitrack) { |
131 | elapsed_time += (CHUNK_SIZE / 2) / 44.1; | 131 | elapsed_time += (CHUNK_SIZE / 2) * 10 / 441; |
132 | ci->set_elapsed(elapsed_time); | 132 | ci->set_elapsed(elapsed_time); |
133 | } | 133 | } |
134 | } | 134 | } |