diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-01 19:35:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 14:19:17 -0400 |
commit | 2e708c48c549a947506c5953ae5fc9d10e932f7c (patch) | |
tree | 1786f3501304df913b6cc93c93b400c57b8673e2 /firmware/export/config/iriverh10.h | |
parent | d4a620e85af6c1eae4c99b92c81d8c098f13eae9 (diff) | |
download | rockbox-2e708c48c549a947506c5953ae5fc9d10e932f7c.tar.gz rockbox-2e708c48c549a947506c5953ae5fc9d10e932f7c.zip |
pcm: Dynamically-size the mixer buffer at higher audio bitrates.
Basically, existing sizes apply for <= 48KHz audio. Up to 96K,
we double the mix buffer. up to 192K, we double it again.
Will help reduce the interrupt load and overall latency, keeping it
roughtly constant as a function of time, regardless of bitrate.
(It is acutally a fixed-size buffer, statically-allocated to handle the
worst-case bitrate the player supports. However, at runtime if we are
using a lower bitrate we will only use a portion of it in order to keep
latancies down)
Change-Id: I61ca23180a86502732b0903fe9691c1a8c2aeaea
Diffstat (limited to 'firmware/export/config/iriverh10.h')
0 files changed, 0 insertions, 0 deletions