diff options
Diffstat (limited to 'apps')
-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, | |||
280 | if (do_refresh && aa) | 280 | if (do_refresh && aa) |
281 | { | 281 | { |
282 | int handle = playback_current_aa_hid(data->playback_aa_slot); | 282 | int handle = playback_current_aa_hid(data->playback_aa_slot); |
283 | #if CONFIG_TUNER | ||
283 | if (in_radio_screen() || (get_radio_status() != FMRADIO_OFF)) | 284 | if (in_radio_screen() || (get_radio_status() != FMRADIO_OFF)) |
284 | { | 285 | { |
285 | struct dim dim = {aa->width, aa->height}; | 286 | struct dim dim = {aa->width, aa->height}; |
286 | handle = radio_get_art_hid(&dim); | 287 | handle = radio_get_art_hid(&dim); |
287 | } | 288 | } |
289 | #endif | ||
288 | aa->draw_handle = handle; | 290 | aa->draw_handle = handle; |
289 | } | 291 | } |
290 | break; | 292 | 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) | |||
691 | 691 | ||
692 | void rec_set_recording_options(struct audio_recording_options *options) | 692 | void rec_set_recording_options(struct audio_recording_options *options) |
693 | { | 693 | { |
694 | #if CONFIG_CODEC == SWCODEC | ||
694 | rec_set_source(options->rec_source, | 695 | rec_set_source(options->rec_source, |
695 | options->rec_source_flags | SRCF_RECORDING); | 696 | options->rec_source_flags | SRCF_RECORDING); |
696 | 697 | #endif | |
697 | audio_set_recording_options(options); | 698 | audio_set_recording_options(options); |
698 | } | 699 | } |
699 | 700 | ||