forked from len0rd/rockbox
Stop audio before applying skin
Should prevent a delay, dropouts and memory corruption that can occur when applying a skin while music is playing Change-Id: Ic2c8fd788117a7d797fb315a36e366a2e34d3460
This commit is contained in:
parent
11ddc6cf1c
commit
a4e422db9e
1 changed files with 3 additions and 0 deletions
|
|
@ -155,6 +155,9 @@ void settings_apply_skins(void)
|
|||
char filename[MAX_PATH];
|
||||
static bool first_run = true;
|
||||
|
||||
if (audio_status() & AUDIO_STATUS_PLAY)
|
||||
audio_stop();
|
||||
|
||||
skin_backdrop_init();
|
||||
skins_initialised = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue