diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 0323ae12ff..d7bea6f898 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1052,10 +1052,8 @@ bool recording_screen(bool no_source) | |||
1052 | switch(cursor) | 1052 | switch(cursor) |
1053 | { | 1053 | { |
1054 | case 0: | 1054 | case 0: |
1055 | if(global_settings.volume < | 1055 | global_settings.volume++; |
1056 | sound_max(SOUND_VOLUME)) | 1056 | setvol(); |
1057 | global_settings.volume++; | ||
1058 | sound_set_volume(global_settings.volume); | ||
1059 | break; | 1057 | break; |
1060 | case 1: | 1058 | case 1: |
1061 | if(global_settings.rec_source == AUDIO_SRC_MIC) | 1059 | if(global_settings.rec_source == AUDIO_SRC_MIC) |
@@ -1120,10 +1118,8 @@ bool recording_screen(bool no_source) | |||
1120 | switch(cursor) | 1118 | switch(cursor) |
1121 | { | 1119 | { |
1122 | case 0: | 1120 | case 0: |
1123 | if(global_settings.volume > | 1121 | global_settings.volume--; |
1124 | sound_min(SOUND_VOLUME)) | 1122 | setvol(); |
1125 | global_settings.volume--; | ||
1126 | sound_set_volume(global_settings.volume); | ||
1127 | break; | 1123 | break; |
1128 | case 1: | 1124 | case 1: |
1129 | if(global_settings.rec_source == AUDIO_SRC_MIC) | 1125 | if(global_settings.rec_source == AUDIO_SRC_MIC) |