diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-11-03 20:14:01 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-11-06 21:37:06 +0100 |
commit | 0fe7b8becf26816eb303626addc8d34821e361f3 (patch) | |
tree | cb8fcd990d5aa3a55212b60e2a3d2282f8f92bff /apps | |
parent | ee2eb13b7407841e9c0dbc76d18878b241d3e9f2 (diff) | |
download | rockbox-0fe7b8becf26816eb303626addc8d34821e361f3.tar.gz rockbox-0fe7b8becf26816eb303626addc8d34821e361f3.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/audio_path.c | 3 | ||||
-rw-r--r-- | apps/debug_menu.c | 8 |
2 files changed, 5 insertions, 6 deletions
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 @@ | |||
45 | #endif | 45 | #endif |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) | 48 | #if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) \ |
49 | || defined(SONY_NWZ_LINUX)) | ||
49 | 50 | ||
50 | #ifdef AUDIO_CPU_BOOST | 51 | #ifdef AUDIO_CPU_BOOST |
51 | static void audio_cpu_boost(bool state) | 52 | 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 @@ | |||
71 | #if (CONFIG_STORAGE & STORAGE_ATA) | 71 | #if (CONFIG_STORAGE & STORAGE_ATA) |
72 | #include "ata.h" | 72 | #include "ata.h" |
73 | #endif | 73 | #endif |
74 | #if CONFIG_TUNER | ||
75 | #include "tuner.h" | ||
76 | #include "radio.h" | ||
77 | #endif | ||
78 | #endif /* CONFIG_PLATFORM & PLATFORM_NATIVE */ | 74 | #endif /* CONFIG_PLATFORM & PLATFORM_NATIVE */ |
79 | #include "power.h" | 75 | #include "power.h" |
80 | 76 | ||
81 | #if (defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) && defined(CONFIG_TUNER) | 77 | #if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) \ |
78 | || defined(SONY_NWZ_LINUX)) \ | ||
79 | && defined(CONFIG_TUNER) | ||
82 | #include "tuner.h" | 80 | #include "tuner.h" |
83 | #include "radio.h" | 81 | #include "radio.h" |
84 | #endif | 82 | #endif |