diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-12-23 12:35:52 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-12-23 12:35:52 +0100 |
commit | ec6258f936487cb92e68e7d6ee3ba864786378bd (patch) | |
tree | e71ec071b1bea736fe9f0efa8b94a2150f5b98b4 | |
parent | 22e802e80048defd401462e062afcb10093ac793 (diff) | |
download | rockbox-ec6258f.tar.gz rockbox-ec6258f.zip |
fix some reds.
Change-Id: Iecb1305dbd1519434e0f476d2199e728b96091f9
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 2 | ||||
-rw-r--r-- | apps/recorder/recording.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 0d36711e91..d95b769fa3 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c @@ -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; diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 4a7399b01e..5b341fd141 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c @@ -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); } |