Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix builds broken by the selective stack bump for opus seeking.

Change-Id: I9eb3b4d2bc88293b09679c27fbceaaa7788ba553

+7 -1
+7 -1
apps/codec_thread.c
··· 90 90 static unsigned int codec_thread_id; /* For modifying thread priority later */ 91 91 static struct event_queue codec_queue SHAREDBSS_ATTR; 92 92 static struct queue_sender_list codec_queue_sender_list SHAREDBSS_ATTR; 93 + 93 94 /* Workaround stack overflow in opus codec on highmem devices (see FS#13060). */ 94 - #define WORKAROUND_FS13060 (MEMORYSIZE >= 8 ? 0x800 : 0) 95 + #if !defined(CPU_COLDFIRE) && (MEMORYSIZE >= 8) && defined(IRAMSIZE) && IRAMSIZE > (32 * 1024) 96 + #define WORKAROUND_FS13060 0x800 97 + #else 98 + #define WORKAROUND_FS13060 0 99 + #endif 100 + 95 101 static long codec_stack[(DEFAULT_STACK_SIZE + 0x2000 + WORKAROUND_FS13060)/sizeof(long)] IBSS_ATTR; 96 102 static const char codec_thread_name[] = "codec"; 97 103