summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 98c2b27008..8bec6e81de 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -49,6 +49,8 @@
49#include "errno.h" 49#include "errno.h"
50#include "talk.h" 50#include "talk.h"
51 51
52#ifdef HAVE_RECORDING
53
52bool f2_rec_screen(void); 54bool f2_rec_screen(void);
53bool f3_rec_screen(void); 55bool f3_rec_screen(void);
54 56
@@ -539,7 +541,7 @@ bool recording_screen(void)
539 { 541 {
540 gain = MAX(global_settings.rec_left_gain, 542 gain = MAX(global_settings.rec_left_gain,
541 global_settings.rec_right_gain); 543 global_settings.rec_right_gain);
542 544
543 snprintf(buf, 32, "%s: %s", str(LANG_RECORDING_GAIN), 545 snprintf(buf, 32, "%s: %s", str(LANG_RECORDING_GAIN),
544 fmt_gain(SOUND_LEFT_GAIN, gain, 546 fmt_gain(SOUND_LEFT_GAIN, gain,
545 buf2, sizeof(buf2))); 547 buf2, sizeof(buf2)));
@@ -819,3 +821,4 @@ bool f3_rec_screen(void)
819 return false; 821 return false;
820} 822}
821#endif 823#endif
824#endif /* HAVE_RECORDING */