summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-23 12:49:53 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-23 17:49:07 -0400
commita8aa8403ad5041820229bc41b73dc934b77311ca (patch)
tree664c453566bb6fb1664af772a61c53b7c024a6de /firmware
parent46e357f1bbd459e0c4e3c1d620c8f790cb910c6a (diff)
downloadrockbox-a8aa8403ad5041820229bc41b73dc934b77311ca.tar.gz
rockbox-a8aa8403ad5041820229bc41b73dc934b77311ca.tar.bz2
rockbox-a8aa8403ad5041820229bc41b73dc934b77311ca.zip
samsungyp: Enable recording feature. No idea if it works. :D
Change-Id: I48952f0551aaf1023f084e0be18354970d2492ed
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/samsungypr0.h3
-rw-r--r--firmware/export/config/samsungypr1.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index 29c565c525..ba5f02ad74 100644
--- a/firmware/export/config/samsungypr0.h
+++ b/firmware/export/config/samsungypr0.h
@@ -114,6 +114,9 @@
#define HAVE_FMRADIO_IN
#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
+#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
+#define HAVE_RECORDING
+
/* We have a GPIO pin that detects this */
#define HAVE_HEADPHONE_DETECTION
diff --git a/firmware/export/config/samsungypr1.h b/firmware/export/config/samsungypr1.h
index 6f9904614c..d091e3ed1e 100644
--- a/firmware/export/config/samsungypr1.h
+++ b/firmware/export/config/samsungypr1.h
@@ -107,7 +107,7 @@
/* define the bitmask of recording sample rates */
#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
-
+#define HAVE_RECORDING
/* R1 has a standard linux RTC driver on /dev/rtc1 (->/dev/rtc)
* The RTC is S35392 A