1
0
Fork 0
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:
Miika Pekkarinen 2005-07-21 20:03:03 +00:00
parent 857ee67b6a
commit ac01c6afc4

View file

@ -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;
}