forked from len0rd/rockbox
boost cpu when resuming playlists
Change-Id: I6184075945b59b3fce2882dd56567b5cf3cb174b
This commit is contained in:
parent
2030d681e4
commit
154f10c2d2
1 changed files with 2 additions and 0 deletions
|
@ -2997,6 +2997,7 @@ int playlist_resume(void)
|
||||||
int result = -1;
|
int result = -1;
|
||||||
|
|
||||||
splash(0, ID2P(LANG_WAIT));
|
splash(0, ID2P(LANG_WAIT));
|
||||||
|
cpu_boost(true);
|
||||||
|
|
||||||
struct playlist_info* playlist = ¤t_playlist;
|
struct playlist_info* playlist = ¤t_playlist;
|
||||||
dc_thread_stop(playlist);
|
dc_thread_stop(playlist);
|
||||||
|
@ -3430,6 +3431,7 @@ out:
|
||||||
|
|
||||||
talk_buffer_set_policy(TALK_BUFFER_DEFAULT);
|
talk_buffer_set_policy(TALK_BUFFER_DEFAULT);
|
||||||
core_free(handle);
|
core_free(handle);
|
||||||
|
cpu_boost(false);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue