diff options
-rw-r--r-- | firmware/mpeg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index feb12ca57f..c5f036c860 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -2473,6 +2473,8 @@ void mpeg_set_recording_options(int frequency, int quality, | |||
2473 | (1 << 2) /* Is an original */; | 2473 | (1 << 2) /* Is an original */; |
2474 | mas_writemem(MAS_BANK_D0, 0x7f0, &val,1); | 2474 | mas_writemem(MAS_BANK_D0, 0x7f0, &val,1); |
2475 | 2475 | ||
2476 | DEBUGF("mas_writemem(MAS_BANK_D0, 0x7f0, %x)\n", val); | ||
2477 | |||
2476 | val = (((source < 2)?1:2) << 8) | /* Input select */ | 2478 | val = (((source < 2)?1:2) << 8) | /* Input select */ |
2477 | (1 << 5) | /* SDO strobe invert */ | 2479 | (1 << 5) | /* SDO strobe invert */ |
2478 | ((is_mpeg1?0:1) << 3) | | 2480 | ((is_mpeg1?0:1) << 3) | |
@@ -2480,6 +2482,8 @@ void mpeg_set_recording_options(int frequency, int quality, | |||
2480 | 1; /* Validate */ | 2482 | 1; /* Validate */ |
2481 | mas_writemem(MAS_BANK_D0, 0x7f1, &val,1); | 2483 | mas_writemem(MAS_BANK_D0, 0x7f1, &val,1); |
2482 | 2484 | ||
2485 | DEBUGF("mas_writemem(MAS_BANK_D0, 0x7f1, %x)\n", val); | ||
2486 | |||
2483 | if(source == 0) /* Mic */ | 2487 | if(source == 0) /* Mic */ |
2484 | { | 2488 | { |
2485 | /* Copy left channel to right (mono mode) */ | 2489 | /* Copy left channel to right (mono mode) */ |
@@ -2522,7 +2526,7 @@ void mpeg_init(int volume, int bass, int treble, int balance, int loudness, int | |||
2522 | mas_reset(); | 2526 | mas_reset(); |
2523 | 2527 | ||
2524 | /* Enable the audio CODEC and the DSP core, max analog voltage range */ | 2528 | /* Enable the audio CODEC and the DSP core, max analog voltage range */ |
2525 | rc = mas_direct_config_write(MAS_CONTROL, 0x8c00); | 2529 | rc = mas_direct_config_write(MAS_CONTROL, 0x4c00); |
2526 | if(rc < 0) | 2530 | if(rc < 0) |
2527 | panicf("mas_ctrl_w: %d", rc); | 2531 | panicf("mas_ctrl_w: %d", rc); |
2528 | 2532 | ||