1
0
Fork 0
forked from len0rd/rockbox

Finally, S/PDIF monitoring works

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3499 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-03-25 02:13:54 +00:00
parent aa78324fde
commit d0c193d159
2 changed files with 8 additions and 5 deletions

View file

@ -161,7 +161,8 @@ bool recording_screen(void)
status_set_playmode(STATUS_STOP);
peak_meter_playback(false);
/* Yes, we use the D/A for monitoring */
peak_meter_playback(true);
peak_meter_enabled = true;

View file

@ -2101,9 +2101,11 @@ static void init_recording(void)
/* Copy left channel to right (mono mode) */
mas_codec_writereg(8, 0x8000);
/* ADC scale 100%, DSP scale 0% */
mas_codec_writereg(6, 0x4000);
mas_codec_writereg(7, 0x0000);
/* ADC scale 0%, DSP scale 100%
We use the DSP output for monitoring, because it works with all
sources including S/PDIF */
mas_codec_writereg(6, 0x0000);
mas_codec_writereg(7, 0x4000);
/* No mute */
val = 0;