From 4cd65b9d97e5fb172477b31d3dc5bc136cc6950b Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Fri, 22 Dec 2023 13:40:54 +0200 Subject: 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 --- firmware/export/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export/config.h') 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 */ //#error "unknown hwardware platform!" #endif +#if !(CONFIG_CPU >= PP5002 && CONFIG_CPU <= PP5022) && CODEC_SIZE >= 0x80000 +#define CODEC_AAC_SBR_DEC +#endif + #ifdef __PCTOOL__ #undef CONFIG_CPU #define CONFIG_CPU 0 -- cgit v1.2.3