diff options
-rw-r--r-- | firmware/target/arm/audio-pp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/target/arm/audio-pp.c b/firmware/target/arm/audio-pp.c index 121203a317..8599fde4f1 100644 --- a/firmware/target/arm/audio-pp.c +++ b/firmware/target/arm/audio-pp.c | |||
@@ -79,10 +79,13 @@ void audio_input_mux(int source, unsigned flags) | |||
79 | #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) | 79 | #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) |
80 | /* Switch line in source to tuner */ | 80 | /* Switch line in source to tuner */ |
81 | GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL, 0x04); | 81 | GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL, 0x04); |
82 | #endif /* Set line-in vol to 0dB*/ | 82 | /* Set line-in vol to +12dB, which is proper for H10's */ |
83 | if (!recording) | ||
84 | audiohw_set_recvol(0x1f, 0x1f, AUDIO_GAIN_LINEIN); | ||
85 | #else /* Set line-in vol to 0dB*/ | ||
83 | if (!recording) | 86 | if (!recording) |
84 | audiohw_set_recvol(0x17, 0x17, AUDIO_GAIN_LINEIN); | 87 | audiohw_set_recvol(0x17, 0x17, AUDIO_GAIN_LINEIN); |
85 | 88 | #endif | |
86 | if (source == last_source && recording == last_recording) | 89 | if (source == last_source && recording == last_recording) |
87 | break; | 90 | break; |
88 | 91 | ||