forked from len0rd/rockbox
Applying crossfade settings after exiting the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7216 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
857ee67b6a
commit
ac01c6afc4
1 changed files with 6 additions and 3 deletions
|
|
@ -933,7 +933,9 @@ static bool buffer_margin(void)
|
|||
};
|
||||
|
||||
ret = set_option(str(LANG_MP3BUFFER_MARGIN), &global_settings.buffer_margin,
|
||||
INT, names, 8, audio_set_buffer_margin);
|
||||
INT, names, 8, NULL);
|
||||
audio_set_buffer_margin(global_settings.buffer_margin);
|
||||
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
|
|
@ -1139,8 +1141,9 @@ static bool crossfade(void)
|
|||
};
|
||||
bool ret;
|
||||
ret=set_option( str(LANG_CROSSFADE), &global_settings.crossfade,
|
||||
INT, names, 8, audio_set_crossfade_amount);
|
||||
|
||||
INT, names, 8, NULL);
|
||||
audio_set_crossfade_amount(global_settings.crossfade);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue