summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/audiohw.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h
index f9d8cae..56f4d3d 100644
--- a/firmware/export/audiohw.h
+++ b/firmware/export/audiohw.h
@@ -529,13 +529,17 @@ void audiohw_disable_recording(void);
*/
void audiohw_set_recvol(int left, int right, int type);
+#endif /* HAVE_RECORDING */
+
+#if defined(HAVE_RECORDING) || defined(HAVE_FMRADIO_IN)
/**
* Enable or disable recording monitor.
- * @param enable ture or false.
+ * @param enable true or false.
*/
void audiohw_set_monitor(bool enable);
+#endif
+
-#endif /* HAVE_RECORDING */
#if CONFIG_CODEC != SWCODEC