diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-10-31 19:57:11 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2023-11-02 23:48:54 -0400 |
commit | 154f10c2d2f32b24e51c1b3a232e2886cc834ff4 (patch) | |
tree | 1a3d214b81c928c4923dbdb14489b77eca0716dd /apps | |
parent | 2030d681e4dd24e036d6e2c178cfb818e8f2b222 (diff) | |
download | rockbox-154f10c2d2f32b24e51c1b3a232e2886cc834ff4.tar.gz rockbox-154f10c2d2f32b24e51c1b3a232e2886cc834ff4.zip |
boost cpu when resuming playlists
Change-Id: I6184075945b59b3fce2882dd56567b5cf3cb174b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
2997 | int result = -1; | 2997 | int result = -1; |
2998 | 2998 | ||
2999 | splash(0, ID2P(LANG_WAIT)); | 2999 | splash(0, ID2P(LANG_WAIT)); |
3000 | cpu_boost(true); | ||
3000 | 3001 | ||
3001 | struct playlist_info* playlist = ¤t_playlist; | 3002 | struct playlist_info* playlist = ¤t_playlist; |
3002 | dc_thread_stop(playlist); | 3003 | dc_thread_stop(playlist); |
@@ -3430,6 +3431,7 @@ out: | |||
3430 | 3431 | ||
3431 | talk_buffer_set_policy(TALK_BUFFER_DEFAULT); | 3432 | talk_buffer_set_policy(TALK_BUFFER_DEFAULT); |
3432 | core_free(handle); | 3433 | core_free(handle); |
3434 | cpu_boost(false); | ||
3433 | return result; | 3435 | return result; |
3434 | } | 3436 | } |
3435 | 3437 | ||