forked from len0rd/rockbox
H1x0: Obey SPDIF power setting for monitoring SPDIF recordings as far as possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e9ddebcd0
commit
736a399bc4
1 changed files with 6 additions and 1 deletions
|
|
@ -305,8 +305,13 @@ void audio_set_recording_options(int frequency, int quality,
|
|||
case 2:
|
||||
/* Int. when 6 samples in FIFO. PDIR2 source = ebu1RcvData */
|
||||
DATAINCONTROL = 0xc038;
|
||||
#ifdef HAVE_SPDIF_POWER
|
||||
EBU1CONFIG = spdif_power_setting ? (1 << 2) : 0;
|
||||
/* Input source is EBUin1, Feed-through monitoring if desired */
|
||||
#else
|
||||
EBU1CONFIG = (1 << 2);
|
||||
/* Input source is EBUin1, Feed-through to output for monitoring */
|
||||
/* Input source is EBUin1, Feed-through monitoring */
|
||||
#endif
|
||||
uda1380_disable_recording();
|
||||
break;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue