Do a bandaid fix for the moment to address FS#12250 : Playback freezes when using speed or pitch change. Task should remain open for now since this is just a brute force buffer increase rather than (re)endowing the DSP with the expected behavior.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30621 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27a6d519f0
commit
11cbffa584
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@
|
||||||
Can be any number of samples but power of two sizes make for faster and
|
Can be any number of samples but power of two sizes make for faster and
|
||||||
smaller math - must be < 65536 bytes */
|
smaller math - must be < 65536 bytes */
|
||||||
#define PCMBUF_CHUNK_SIZE 8192u
|
#define PCMBUF_CHUNK_SIZE 8192u
|
||||||
#define PCMBUF_GUARD_SIZE 1024u
|
|
||||||
|
/* Massive size is a nasty temp fix */
|
||||||
|
#define PCMBUF_GUARD_SIZE (1024u*12*((NATIVE_FREQUENCY+7999)/8000))
|
||||||
|
|
||||||
/* Mnemonics for common data commit thresholds */
|
/* Mnemonics for common data commit thresholds */
|
||||||
#define COMMIT_CHUNKS PCMBUF_CHUNK_SIZE
|
#define COMMIT_CHUNKS PCMBUF_CHUNK_SIZE
|
||||||
|
|
Loading…
Reference in a new issue