From d85f4b5e1c48399e084face42a8c9bd0ae1ba997 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Thu, 12 Jan 2023 19:34:45 +0000 Subject: [PATCH] pdbox: Move core thread off COP This is all but guaranteed to be broken since pdbox doesn't use SHAREDBSS_ATTR or SHAREDDATA_ATTR, needed to share memory safely with COP threads. Judging by the codec performance comparison on the wiki, if the iRiver H100 and H300 can run PDbox on one core, PP targets should have no problem doing it - they are 2-4x faster even on codecs that don't have multi-core optimizations. Change-Id: I8f556013146cb670f69cc42e80b1c768ba0f74cd --- apps/plugins/pdbox/pdbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/pdbox/pdbox.c b/apps/plugins/pdbox/pdbox.c index f21913788b..08236bfeba 100644 --- a/apps/plugins/pdbox/pdbox.c +++ b/apps/plugins/pdbox/pdbox.c @@ -229,7 +229,7 @@ enum plugin_status plugin_start(const void* parameter) 0, /* FIXME Which flags? */ "PD core" IF_PRIO(, PRIORITY_REALTIME) - IF_COP(, COP)); + IF_COP(, CPU)); gui_thread_id = rb->create_thread(&gui_thread,