diff options
author | roman.artiukhin <bahusdrive@gmail.com> | 2023-12-22 13:40:54 +0200 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-12-31 20:44:15 -0500 |
commit | 4cd65b9d97e5fb172477b31d3dc5bc136cc6950b (patch) | |
tree | 1ea09715a6f15456d762efa22dc40617e20e393d /lib/rbcodec/codecs/libfaad/common.h | |
parent | fc65bdab4e9d62fb5edf74284944a204aefd5160 (diff) | |
download | rockbox-4cd65b9d97e5fb172477b31d3dc5bc136cc6950b.tar.gz rockbox-4cd65b9d97e5fb172477b31d3dc5bc136cc6950b.zip |
Codecs: mp4: Disable SBR decoding for PP5002 - PP5022 platforms
Includes ipod video (5G) and earlier models, sansa c200 and others players not capable to decode AAC-HE.
Allows to play backward compatible files as AAC-LC.
Change-Id: Ic9f5c0f255d9a4308c3414d402f8f27f4328ca94
Diffstat (limited to 'lib/rbcodec/codecs/libfaad/common.h')
-rw-r--r-- | lib/rbcodec/codecs/libfaad/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libfaad/common.h b/lib/rbcodec/codecs/libfaad/common.h index 8f66a14ce0..938f64e14c 100644 --- a/lib/rbcodec/codecs/libfaad/common.h +++ b/lib/rbcodec/codecs/libfaad/common.h | |||
@@ -135,9 +135,11 @@ extern "C" { | |||
135 | #undef ERROR_RESILIENCE | 135 | #undef ERROR_RESILIENCE |
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | #if CODEC_SIZE >= 0x80000 | 138 | #ifdef CODEC_AAC_SBR_DEC |
139 | #define SBR_DEC | 139 | #define SBR_DEC |
140 | //#define SBR_LOW_POWER /* Does not work yet in rockbox. */ | 140 | //#define SBR_LOW_POWER /* Does not work yet in rockbox. */ |
141 | #endif | ||
142 | #if CODEC_SIZE >= 0x80000 | ||
141 | #define PS_DEC | 143 | #define PS_DEC |
142 | #endif | 144 | #endif |
143 | 145 | ||