diff options
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 50452b6fdc..0903da69e4 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -1566,11 +1566,12 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
1566 | } | 1566 | } |
1567 | 1567 | ||
1568 | /* Initialize IRAM - stops audio and voice as well */ | 1568 | /* Initialize IRAM - stops audio and voice as well */ |
1569 | audiobuf = api->plugin_get_audio_buffer(&audiosize); | ||
1570 | PLUGIN_IRAM_INIT(api) | 1569 | PLUGIN_IRAM_INIT(api) |
1571 | 1570 | ||
1572 | rb = api; | 1571 | rb = api; |
1573 | 1572 | ||
1573 | audiobuf = rb->plugin_get_audio_buffer(&audiosize); | ||
1574 | |||
1574 | /* Set disk pointers to NULL */ | 1575 | /* Set disk pointers to NULL */ |
1575 | disk_buf_end = disk_buf = NULL; | 1576 | disk_buf_end = disk_buf = NULL; |
1576 | 1577 | ||