summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-30 10:45:53 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-30 10:45:53 +0000
commit0ec1ad99515fd2b0f01155d66d42e1070cdfdd66 (patch)
tree630a507f1eb20df63fe3043adf2ebcd5b44ddb9a /apps/plugins
parent510a18d30276e84fd4446cef1476d69d5273513a (diff)
vbrfix boosts the cpu frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6944 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/vbrfix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/vbrfix.c b/apps/plugins/vbrfix.c
index 7fb072c656..b821b9c5fa 100644
--- a/apps/plugins/vbrfix.c
+++ b/apps/plugins/vbrfix.c
@@ -274,7 +274,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void *parameter)
audiobuf = rb->plugin_get_audio_buffer(&audiobuflen);
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+ rb->cpu_boost(true);
+#endif
+
vbr_fix(parameter);
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+ rb->cpu_boost(false);
+#endif
return PLUGIN_OK;
}