diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-06-22 16:39:40 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-06-30 00:40:09 +0200 |
commit | a9ea1a42695401334717f2e497a7f5576d87691d (patch) | |
tree | 806f457038f7d2edf17335355169116947ecb2c3 /apps/recorder/recording.c | |
parent | bc3a0795225553ccd7465ce977a8f0dc435b166a (diff) | |
download | rockbox-a9ea1a42695401334717f2e497a7f5576d87691d.tar.gz rockbox-a9ea1a42695401334717f2e497a7f5576d87691d.zip |
Fix some whitespace in files changed in following commit.
Change-Id: Ie3f43e43076e0dcae9a10f1b0b9e4698b398acee
Reviewed-on: http://gerrit.rockbox.org/492
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested-by: Michael Sevakis <jethead71@rockbox.org>
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 53dc5cbf95..4893f589f1 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -280,7 +280,7 @@ static void set_gain(void) | |||
280 | { | 280 | { |
281 | if (global_settings.rec_mic_gain > sound_max(SOUND_MIC_GAIN)) | 281 | if (global_settings.rec_mic_gain > sound_max(SOUND_MIC_GAIN)) |
282 | global_settings.rec_mic_gain = sound_max(SOUND_MIC_GAIN); | 282 | global_settings.rec_mic_gain = sound_max(SOUND_MIC_GAIN); |
283 | 283 | ||
284 | if (global_settings.rec_mic_gain < sound_min(SOUND_MIC_GAIN)) | 284 | if (global_settings.rec_mic_gain < sound_min(SOUND_MIC_GAIN)) |
285 | global_settings.rec_mic_gain = sound_min(SOUND_MIC_GAIN); | 285 | global_settings.rec_mic_gain = sound_min(SOUND_MIC_GAIN); |
286 | 286 | ||
@@ -301,7 +301,7 @@ static void set_gain(void) | |||
301 | 301 | ||
302 | if (global_settings.rec_right_gain < sound_min(SOUND_RIGHT_GAIN)) | 302 | if (global_settings.rec_right_gain < sound_min(SOUND_RIGHT_GAIN)) |
303 | global_settings.rec_right_gain = sound_min(SOUND_RIGHT_GAIN); | 303 | global_settings.rec_right_gain = sound_min(SOUND_RIGHT_GAIN); |
304 | 304 | ||
305 | /* AUDIO_SRC_LINEIN, AUDIO_SRC_FMRADIO, AUDIO_SRC_SPDIF */ | 305 | /* AUDIO_SRC_LINEIN, AUDIO_SRC_FMRADIO, AUDIO_SRC_SPDIF */ |
306 | audio_set_recording_gain(global_settings.rec_left_gain, | 306 | audio_set_recording_gain(global_settings.rec_left_gain, |
307 | global_settings.rec_right_gain, | 307 | global_settings.rec_right_gain, |
@@ -327,7 +327,7 @@ static bool read_peak_levels(int *peak_l, int *peak_r, int *balance) | |||
327 | return false; | 327 | return false; |
328 | 328 | ||
329 | if (*peak_r > *peak_l) | 329 | if (*peak_r > *peak_l) |
330 | balance_mem[peak_time % BAL_MEM_SIZE] = (*peak_l ? | 330 | balance_mem[peak_time % BAL_MEM_SIZE] = (*peak_l ? |
331 | MIN((10000 * *peak_r) / *peak_l - 10000, 15118) : 15118); | 331 | MIN((10000 * *peak_r) / *peak_l - 10000, 15118) : 15118); |
332 | else | 332 | else |
333 | balance_mem[peak_time % BAL_MEM_SIZE] = (*peak_r ? | 333 | balance_mem[peak_time % BAL_MEM_SIZE] = (*peak_r ? |
@@ -394,7 +394,7 @@ static void change_recording_gain(bool increment, bool left, bool right) | |||
394 | } | 394 | } |
395 | } | 395 | } |
396 | 396 | ||
397 | /* | 397 | /* |
398 | * Handle automatic gain control (AGC). | 398 | * Handle automatic gain control (AGC). |
399 | * Change recording gain if peak_x levels are above or below | 399 | * Change recording gain if peak_x levels are above or below |
400 | * target volume for specified timeouts. | 400 | * target volume for specified timeouts. |
@@ -645,7 +645,7 @@ int rec_create_directory(void) | |||
645 | { | 645 | { |
646 | while (action_userabort(HZ) == false) | 646 | while (action_userabort(HZ) == false) |
647 | { | 647 | { |
648 | splashf(0, "%s %s", | 648 | splashf(0, "%s %s", |
649 | str(LANG_REC_DIR_NOT_WRITABLE), | 649 | str(LANG_REC_DIR_NOT_WRITABLE), |
650 | str(LANG_OFF_ABORT)); | 650 | str(LANG_OFF_ABORT)); |
651 | } | 651 | } |
@@ -1050,7 +1050,7 @@ bool recording_screen(bool no_source) | |||
1050 | int trig_ypos[NB_SCREENS]; /* trigger bar y pos */ | 1050 | int trig_ypos[NB_SCREENS]; /* trigger bar y pos */ |
1051 | int trig_width[NB_SCREENS]; /* trigger bar width */ | 1051 | int trig_width[NB_SCREENS]; /* trigger bar width */ |
1052 | int top_height_req[NB_SCREENS]; /* required height for top half */ | 1052 | int top_height_req[NB_SCREENS]; /* required height for top half */ |
1053 | /* tweak layout tiny screens / big fonts */ | 1053 | /* tweak layout tiny screens / big fonts */ |
1054 | bool compact_view[NB_SCREENS] = { false }; | 1054 | bool compact_view[NB_SCREENS] = { false }; |
1055 | struct gui_synclist lists; /* the list in the bottom vp */ | 1055 | struct gui_synclist lists; /* the list in the bottom vp */ |
1056 | #if defined(HAVE_AGC) | 1056 | #if defined(HAVE_AGC) |
@@ -1445,7 +1445,7 @@ bool recording_screen(bool no_source) | |||
1445 | #ifdef HAVE_MIC_REC | 1445 | #ifdef HAVE_MIC_REC |
1446 | if(global_settings.rec_source == AUDIO_SRC_MIC) | 1446 | if(global_settings.rec_source == AUDIO_SRC_MIC) |
1447 | { | 1447 | { |
1448 | global_settings.rec_mic_gain -= | 1448 | global_settings.rec_mic_gain -= |
1449 | sound_steps(SOUND_MIC_GAIN); | 1449 | sound_steps(SOUND_MIC_GAIN); |
1450 | } | 1450 | } |
1451 | else | 1451 | else |