1
0
Fork 0
forked from len0rd/rockbox

fix some reds.

Change-Id: Iecb1305dbd1519434e0f476d2199e728b96091f9
This commit is contained in:
Thomas Martitz 2013-12-23 12:35:52 +01:00
parent 22e802e800
commit ec6258f936
2 changed files with 4 additions and 1 deletions

View file

@ -280,11 +280,13 @@ static bool do_non_text_tags(struct gui_wps *gwps, struct skin_draw_info *info,
if (do_refresh && aa)
{
int handle = playback_current_aa_hid(data->playback_aa_slot);
#if CONFIG_TUNER
if (in_radio_screen() || (get_radio_status() != FMRADIO_OFF))
{
struct dim dim = {aa->width, aa->height};
handle = radio_get_art_hid(&dim);
}
#endif
aa->draw_handle = handle;
}
break;

View file

@ -691,9 +691,10 @@ void rec_set_source(int source, unsigned flags)
void rec_set_recording_options(struct audio_recording_options *options)
{
#if CONFIG_CODEC == SWCODEC
rec_set_source(options->rec_source,
options->rec_source_flags | SRCF_RECORDING);
#endif
audio_set_recording_options(options);
}