diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/pcm_record.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c index b1415fa235..0a70494288 100644 --- a/firmware/pcm_record.c +++ b/firmware/pcm_record.c | |||
@@ -305,8 +305,13 @@ void audio_set_recording_options(int frequency, int quality, | |||
305 | case 2: | 305 | case 2: |
306 | /* Int. when 6 samples in FIFO. PDIR2 source = ebu1RcvData */ | 306 | /* Int. when 6 samples in FIFO. PDIR2 source = ebu1RcvData */ |
307 | DATAINCONTROL = 0xc038; | 307 | DATAINCONTROL = 0xc038; |
308 | #ifdef HAVE_SPDIF_POWER | ||
309 | EBU1CONFIG = spdif_power_setting ? (1 << 2) : 0; | ||
310 | /* Input source is EBUin1, Feed-through monitoring if desired */ | ||
311 | #else | ||
308 | EBU1CONFIG = (1 << 2); | 312 | EBU1CONFIG = (1 << 2); |
309 | /* Input source is EBUin1, Feed-through to output for monitoring */ | 313 | /* Input source is EBUin1, Feed-through monitoring */ |
314 | #endif | ||
310 | uda1380_disable_recording(); | 315 | uda1380_disable_recording(); |
311 | break; | 316 | break; |
312 | #endif | 317 | #endif |