diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2008-01-08 14:33:17 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2008-01-08 14:33:17 +0000 |
commit | ca55f133de16d928d57f6900a279e8efc66f7f26 (patch) | |
tree | a3ca6a0ac429d07dcc0e1db1fe83a25394c140fa | |
parent | 3d7f64c615bfd8271369d93a5df26b2b67f96d9c (diff) | |
download | rockbox-ca55f133de16d928d57f6900a279e8efc66f7f26.tar.gz rockbox-ca55f133de16d928d57f6900a279e8efc66f7f26.zip |
Fix typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16026 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/pcmbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index 4ed2973dbb..8153118715 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c | |||
@@ -303,7 +303,7 @@ void pcmbuf_set_event_handler(void (*event_handler)(void)) | |||
303 | 303 | ||
304 | unsigned int pcmbuf_get_latency(void) | 304 | unsigned int pcmbuf_get_latency(void) |
305 | { | 305 | { |
306 | /* Be careful how this calculation is rearranted, it's easy to overflow */ | 306 | /* Be careful how this calculation is rearranged, it's easy to overflow */ |
307 | size_t bytes = pcmbuf_unplayed_bytes + pcm_get_bytes_waiting(); | 307 | size_t bytes = pcmbuf_unplayed_bytes + pcm_get_bytes_waiting(); |
308 | return bytes / 4 / (NATIVE_FREQUENCY/1000); | 308 | return bytes / 4 / (NATIVE_FREQUENCY/1000); |
309 | } | 309 | } |