diff options
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r-- | apps/recorder/radio.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 0976a57467..291079b4b0 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -385,18 +385,16 @@ bool radio_screen(void) | |||
385 | global_settings.rec_prerecord_time); | 385 | global_settings.rec_prerecord_time); |
386 | 386 | ||
387 | 387 | ||
388 | audio_set_recording_gain(sound_default(SOUND_LEFT_GAIN), | ||
389 | sound_default(SOUND_RIGHT_GAIN), AUDIO_GAIN_LINEIN); | ||
390 | #else | 388 | #else |
391 | peak_meter_enabled = false; | 389 | peak_meter_enabled = false; |
392 | uda1380_enable_recording(false); | 390 | uda1380_enable_recording(false); |
393 | uda1380_set_recvol(10, 10, AUDIO_GAIN_DECIMATOR); | ||
394 | uda1380_set_recvol(0, 0, AUDIO_GAIN_LINEIN); | ||
395 | uda1380_set_monitor(true); | 391 | uda1380_set_monitor(true); |
396 | 392 | ||
397 | /* Set the input multiplexer to FM */ | 393 | /* Set the input multiplexer to FM */ |
398 | pcm_rec_mux(1); | 394 | pcm_rec_mux(1); |
399 | #endif | 395 | #endif |
396 | audio_set_recording_gain(sound_default(SOUND_LEFT_GAIN), | ||
397 | sound_default(SOUND_RIGHT_GAIN), AUDIO_GAIN_LINEIN); | ||
400 | #endif | 398 | #endif |
401 | 399 | ||
402 | curr_freq = global_settings.last_frequency * FREQ_STEP + MIN_FREQ; | 400 | curr_freq = global_settings.last_frequency * FREQ_STEP + MIN_FREQ; |