Stop playback before starting to use IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
83f67db3ee
commit
830ec63b4b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue