From a8aa8403ad5041820229bc41b73dc934b77311ca Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 23 Oct 2020 12:49:53 -0400 Subject: samsungyp: Enable recording feature. No idea if it works. :D Change-Id: I48952f0551aaf1023f084e0be18354970d2492ed --- firmware/export/config/samsungypr0.h | 3 +++ firmware/export/config/samsungypr1.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3