summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/doom/rockdoom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 3959f6a46e..d9a0dbafa7 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -859,6 +859,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
#endif
#ifdef USE_IRAM
+ /* We need to stop audio playback in order to use IRAM */
+ rb->audio_stop();
+
memcpy(iramstart, iramcopy, iramend-iramstart);
memset(iedata, 0, iend - iedata);
#endif