Fix typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d7f64c615
commit
ca55f133de
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ void pcmbuf_set_event_handler(void (*event_handler)(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();
|
||||
return bytes / 4 / (NATIVE_FREQUENCY/1000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue