summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/test_codec.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 920be54d56..7523d9e9aa 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -910,8 +910,6 @@ menu:
910 boost_settings, 2, NULL); 910 boost_settings, 2, NULL);
911 goto menu; 911 goto menu;
912 } 912 }
913 if(boost)
914 rb->cpu_boost(true);
915#endif 913#endif
916 914
917 if (result == QUIT) 915 if (result == QUIT)
@@ -963,6 +961,11 @@ menu:
963 goto exit; 961 goto exit;
964 } 962 }
965 963
964#ifdef HAVE_ADJUSTABLE_CPU_FREQ
965 if (boost)
966 rb->cpu_boost(true);
967#endif
968
966 if (scandir) { 969 if (scandir) {
967 /* Test all files in the same directory as the file selected by the 970 /* Test all files in the same directory as the file selected by the
968 user */ 971 user */
@@ -1003,12 +1006,13 @@ menu:
1003 log_text("Wrote /test.wav",true); 1006 log_text("Wrote /test.wav",true);
1004 } 1007 }
1005 } 1008 }
1006 plugin_quit();
1007 1009
1008 #ifdef HAVE_ADJUSTABLE_CPU_FREQ 1010#ifdef HAVE_ADJUSTABLE_CPU_FREQ
1009 if(boost) 1011 if (boost)
1010 rb->cpu_boost(false); 1012 rb->cpu_boost(false);
1011 #endif 1013#endif
1014
1015 plugin_quit();
1012 1016
1013 rb->button_clear_queue(); 1017 rb->button_clear_queue();
1014 goto show_menu; 1018 goto show_menu;