summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/audio.h2
-rw-r--r--firmware/export/config-h100.h3
-rw-r--r--firmware/export/config-h120.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index 6922dab..b44bb91 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -100,6 +100,8 @@ void audio_set_recording_options(int frequency, int quality,
void audio_set_recording_gain(int left, int right, int type);
unsigned long audio_recorded_time(void);
unsigned long audio_num_recorded_bytes(void);
+void audio_set_spdif_power_setting(bool on);
+unsigned long audio_get_spdif_sample_rate(void);
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 942f18a..d53adce 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -125,6 +125,9 @@
#endif
+/* Define this for S/PDIF input available */
+#define HAVE_SPDIF_IN
+
/* Define this for S/PDIF output available */
#define HAVE_SPDIF_OUT
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index 186203c..34f5059 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -120,6 +120,9 @@
#endif
+/* Define this for S/PDIF input available */
+#define HAVE_SPDIF_IN
+
/* Define this for S/PDIF output available */
#define HAVE_SPDIF_OUT