diff options
-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 5f78901a56..d0bbeb0265 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c @@ -208,7 +208,7 @@ unsigned int pcmbuf_get_latency(void) int latency; latency = (pcmbuf_unplayed_bytes + pcm_get_bytes_waiting()) - / 4 / (44100/1000); + * 1000 / 4 / 44100; if (latency < 0) latency = 0; |