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 /firmware/export | |
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 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 49cd6d610c..92997dc7b8 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -601,6 +601,10 @@ Lyre prototype 1 */ | |||
601 | //#error "unknown hwardware platform!" | 601 | //#error "unknown hwardware platform!" |
602 | #endif | 602 | #endif |
603 | 603 | ||
604 | #if !(CONFIG_CPU >= PP5002 && CONFIG_CPU <= PP5022) && CODEC_SIZE >= 0x80000 | ||
605 | #define CODEC_AAC_SBR_DEC | ||
606 | #endif | ||
607 | |||
604 | #ifdef __PCTOOL__ | 608 | #ifdef __PCTOOL__ |
605 | #undef CONFIG_CPU | 609 | #undef CONFIG_CPU |
606 | #define CONFIG_CPU 0 | 610 | #define CONFIG_CPU 0 |