summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 91f85f9..e81b32d 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1309,7 +1309,11 @@ static void codec_thread(void)
LOGFQUEUE("codec < Q_CODEC_DO_CALLBACK");
queue_reply(&codec_queue, 1);
if ((void*)ev.data != NULL)
+ {
+ invalidate_icache();
((void (*)(void))ev.data)();
+ flush_icache();
+ }
break;
#ifdef AUDIO_HAVE_RECORDING