Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor Bug Fix: Handle Rubber Band buffer latency
We implement this function to return the current latency buffered, regardless of how often this function may be called. In practice, it is only called on track completion, to time the reporting of the next track display. We also avoid using Rubber Band's latency function, as in most cases, this function will be called from other threads, and also, it currently only gets called after Rubber Band has been emptied out, so it would otherwise calculate zero samples buffered. And thirdly, Rubber Band's latency function doesn't account for the buffered samples already removed from it and waiting to be fed out. Signed-off-by: Christopher Snowhill <[email protected]>
- Loading branch information