flac: Fix build on Cowon D2.

Not enough IRAM on this target to support larger MAX_BLOCKSIZE even with
only 2ch.

Change-Id: I91675b9eb294f8af3f7d17aa9c76c7cb83ce0bd7
This commit is contained in:
Solomon Peachy 2025-09-09 08:07:34 -04:00
parent c5e5a537c0
commit 01a62372ff
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@
#define IBSS_ATTR_FLAC_XXLARGE_IRAM
#endif
#if (ARCH == ARCH_M68K) || defined(CPU_PP) || MEMORYSIZE <= 2
#if (ARCH == ARCH_M68K) || defined(CPU_PP) || defined(CPU_TCC780X) || (MEMORYSIZE <= 2)
#define MAX_BLOCKSIZE 4608
#else
#define MAX_BLOCKSIZE 8192

View file

@ -147,7 +147,7 @@
Free Lossless Audio
& \fname{.flac}
& Multichannel and/or high-resolution files will be downmixed to 16-bit stereo.
\opt{ipod,iriverh10,sansaclip,sansam200v4,sansac200v2,iriverh100,iriverh300,iaudiox5,iaudiom5,iaudiom3,mpiohd200,mpiphd300}{
\opt{ipod,iriverh10,sansaclip,sansam200v4,sansac200v2,iriverh100,iriverh300,iaudiox5,iaudiom5,iaudiom3,mpiohd200,mpiphd300,cowond2}{
\nopt{ipodnano2g,ipod6g}{Due to resource constraints, files with large block sizes are not supported, and realtime playback may not be possible where downmixing is necessary.}}
\\
Apple Lossless