diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-12 07:57:01 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-12 07:57:01 +0000 |
commit | 5f1abee2dc5aefa9402c9a073db1c08d3899fc7e (patch) | |
tree | 8b7e6a70945215921648ae69ac0be60d45c85f52 /apps | |
parent | dcf6bd23f3e40530ecbb9987f758b34bf35c7423 (diff) | |
download | rockbox-5f1abee2dc5aefa9402c9a073db1c08d3899fc7e.tar.gz rockbox-5f1abee2dc5aefa9402c9a073db1c08d3899fc7e.zip |
mpegplayer: oops, added an IRAM init/buffer get order switch that should have been reversed before committing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 | ||