diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-06-28 12:55:34 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2008-06-28 12:55:34 +0000 |
commit | 25ffa8b198a313757541d0591b20594abdccc5aa (patch) | |
tree | fba5f7cdd4b23a3bcd369500786c986076de521b /apps/codecs/libmusepack/decoder.h | |
parent | 3d0c81db957f0c80e0420a2cf8476829f2ce811b (diff) | |
download | rockbox-25ffa8b198a313757541d0591b20594abdccc5aa.tar.gz rockbox-25ffa8b198a313757541d0591b20594abdccc5aa.zip |
Solve possible glitch after seeking in mpc files. Documented the special treatment after seek.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17829 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/decoder.h')
-rw-r--r-- | apps/codecs/libmusepack/decoder.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/decoder.h b/apps/codecs/libmusepack/decoder.h index 499cd53137..9031bf29e7 100644 --- a/apps/codecs/libmusepack/decoder.h +++ b/apps/codecs/libmusepack/decoder.h | |||
@@ -43,7 +43,15 @@ | |||
43 | #include "reader.h" | 43 | #include "reader.h" |
44 | #include "streaminfo.h" | 44 | #include "streaminfo.h" |
45 | 45 | ||
46 | // define this to enable/disable support for streamversion SV4-6 | ||
46 | //#define MPC_SUPPORT_SV456 | 47 | //#define MPC_SUPPORT_SV456 |
48 | |||
49 | // SCF_HACK is used to avoid possible distortion after seeking with mpc files | ||
50 | // background: scf's are coded differential in time domain. if you seek to the | ||
51 | // desired postion it might happen that the baseline is missed and the resulting | ||
52 | // scf is much too high (hissing noise). this hack uses the lowest scaling until | ||
53 | // a non-differential scf could be decoded after seek. through this hack subbands | ||
54 | // are faded out until there was at least a single non-differential scf found. | ||
47 | #define SCF_HACK | 55 | #define SCF_HACK |
48 | 56 | ||
49 | enum { | 57 | enum { |