Fix typo.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2008-01-08 14:33:17 +00:00
parent 3d7f64c615
commit ca55f133de

View file

@ -303,7 +303,7 @@ void pcmbuf_set_event_handler(void (*event_handler)(void))
unsigned int pcmbuf_get_latency(void) unsigned int pcmbuf_get_latency(void)
{ {
/* Be careful how this calculation is rearranted, it's easy to overflow */ /* Be careful how this calculation is rearranged, it's easy to overflow */
size_t bytes = pcmbuf_unplayed_bytes + pcm_get_bytes_waiting(); size_t bytes = pcmbuf_unplayed_bytes + pcm_get_bytes_waiting();
return bytes / 4 / (NATIVE_FREQUENCY/1000); return bytes / 4 / (NATIVE_FREQUENCY/1000);
} }