diff options
author | Thom Johansen <thomj@rockbox.org> | 2006-05-11 22:55:24 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2006-05-11 22:55:24 +0000 |
commit | a4bfe37c6cdcc2e70b2b6d5d486531fa2986370b (patch) | |
tree | 24f01ed56d3197d66e2f66cabbd4a9814ce14b72 /firmware/export | |
parent | 5725b8cbcbe11c006fe92874dcc5d834e006daa6 (diff) |
Optical S/PDIF recording and monitoring for Iriver H1x0. Removed unsupported recording options on Iriver. Sample rate displayed in recording screen reflects the real S/PDIF sample rate when doing S/PDIF recording. Testing would be appreciated. Thanks to Jens Arnold for fixing the DMA hang issue. Will reset settings!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9916 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/audio.h | 2 | ||||
-rw-r--r-- | firmware/export/config-h100.h | 3 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h index 6922dab1f6..b44bb91378 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 942f18adf3..d53adcec14 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 186203c648..34f5059b69 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 |