summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-04-12 07:57:01 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-04-12 07:57:01 +0000
commit5f1abee2dc5aefa9402c9a073db1c08d3899fc7e (patch)
tree8b7e6a70945215921648ae69ac0be60d45c85f52
parentdcf6bd23f3e40530ecbb9987f758b34bf35c7423 (diff)
downloadrockbox-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
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c3
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)
}
/* Initialize IRAM - stops audio and voice as well */
- audiobuf = api->plugin_get_audio_buffer(&audiosize);
PLUGIN_IRAM_INIT(api)
rb = api;
+ audiobuf = rb->plugin_get_audio_buffer(&audiosize);
+
/* Set disk pointers to NULL */
disk_buf_end = disk_buf = NULL;