diff options
author | Dave Chapman <dave@dchapman.com> | 2006-05-15 21:25:43 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-05-15 21:25:43 +0000 |
commit | 830ec63b4b0f1a35bbd65ee3a69f5fb969237e76 (patch) | |
tree | a318a5074c8ce1ba34ab7359651dc7be9cf6d494 | |
parent | 83f67db3ee24d426c956de1d426695fc547ba262 (diff) |
Stop playback before starting to use IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9947 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/doom/rockdoom.c | 3 |
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 |