summaryrefslogtreecommitdiff
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
parent46e357f1bbd459e0c4e3c1d620c8f790cb910c6a (diff)
downloadrockbox-a8aa8403ad5041820229bc41b73dc934b77311ca.tar.gz
rockbox-a8aa8403ad5041820229bc41b73dc934b77311ca.zip
samsungyp: Enable recording feature. No idea if it works. :D
Change-Id: I48952f0551aaf1023f084e0be18354970d2492ed
-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 @@
114#define HAVE_FMRADIO_IN 114#define HAVE_FMRADIO_IN
115#define INPUT_SRC_CAPS SRC_CAP_FMRADIO 115#define INPUT_SRC_CAPS SRC_CAP_FMRADIO
116 116
117#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
118#define HAVE_RECORDING
119
117/* We have a GPIO pin that detects this */ 120/* We have a GPIO pin that detects this */
118#define HAVE_HEADPHONE_DETECTION 121#define HAVE_HEADPHONE_DETECTION
119 122
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 @@
107 107
108/* define the bitmask of recording sample rates */ 108/* define the bitmask of recording sample rates */
109#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */ 109#define REC_SAMPR_CAPS HW_SAMPR_CAPS /* Same as playback */
110 110#define HAVE_RECORDING
111 111
112/* R1 has a standard linux RTC driver on /dev/rtc1 (->/dev/rtc) 112/* R1 has a standard linux RTC driver on /dev/rtc1 (->/dev/rtc)
113 * The RTC is S35392 A 113 * The RTC is S35392 A