[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-cvs
Subject: boost cpu when resuming playlists
From: rockbox-gerrit-noreply--- via rockbox-cvs <rockbox-cvs () lists ! haxx ! se>
Date: 2023-11-03 3:48:55
Message-ID: 202311030348.3A33mtvj883439 () archos ! rockbox ! org
[Download RAW message or body]
commit 154f10c2d2f32b24e51c1b3a232e2886cc834ff4
Author: William Wilgus <wilgus.william@gmail.com>
Date: Tue Oct 31 19:57:11 2023 -0400
boost cpu when resuming playlists
Change-Id: I6184075945b59b3fce2882dd56567b5cf3cb174b
diff --git a/apps/playlist.c b/apps/playlist.c
index b0007e49bd..8c9bfb4a04 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -2997,6 +2997,7 @@ int playlist_resume(void)
int result = -1;
splash(0, ID2P(LANG_WAIT));
+ cpu_boost(true);
struct playlist_info* playlist = ¤t_playlist;
dc_thread_stop(playlist);
@@ -3430,6 +3431,7 @@ out:
talk_buffer_set_policy(TALK_BUFFER_DEFAULT);
core_free(handle);
+ cpu_boost(false);
return result;
}
--
rockbox-cvs mailing list
rockbox-cvs@lists.haxx.se
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic