diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2018-01-13 17:46:47 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2018-01-14 19:32:13 -0500 |
commit | 769d73d734938eb192794b4104986a527ac70dd5 (patch) | |
tree | a2e002a4380fa1f3e9692936bd4352236025985a /apps/plugins/sdl/src/video/xbios/SDL_xbios_centscreen.h | |
parent | a1123de28f8b02cf7a15569ccd76c8e5a82ccb98 (diff) | |
download | rockbox-769d73d734938eb192794b4104986a527ac70dd5.tar.gz rockbox-769d73d734938eb192794b4104986a527ac70dd5.zip |
Use sleep(0) instead of yield() in SDL_WaitAudio
This allows CPU load to drop below 100%, which is good for anything
that scales frequency and voltage based on CPU load. Also conserves
some energy by letting the core go idle if there aren't any available
buffers.
Change-Id: I9385ac9e030f97010b12eb825875a900463ab0ac
Diffstat (limited to 'apps/plugins/sdl/src/video/xbios/SDL_xbios_centscreen.h')
0 files changed, 0 insertions, 0 deletions