From 0fe7b8becf26816eb303626addc8d34821e361f3 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 3 Nov 2017 20:14:01 +0100 Subject: nwzlinux: add support for radio None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961 --- apps/audio_path.c | 3 ++- apps/debug_menu.c | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/audio_path.c b/apps/audio_path.c index 3f43badc25..bb73052a95 100644 --- a/apps/audio_path.c +++ b/apps/audio_path.c @@ -45,7 +45,8 @@ #endif #endif -#if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) +#if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) \ + || defined(SONY_NWZ_LINUX)) #ifdef AUDIO_CPU_BOOST static void audio_cpu_boost(bool state) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 0a1ceee2e0..1cccdfbcf4 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -71,14 +71,12 @@ #if (CONFIG_STORAGE & STORAGE_ATA) #include "ata.h" #endif -#if CONFIG_TUNER -#include "tuner.h" -#include "radio.h" -#endif #endif /* CONFIG_PLATFORM & PLATFORM_NATIVE */ #include "power.h" -#if (defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) && defined(CONFIG_TUNER) +#if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) \ + || defined(SONY_NWZ_LINUX)) \ + && defined(CONFIG_TUNER) #include "tuner.h" #include "radio.h" #endif -- cgit v1.2.3