diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/recording.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index e246825443..11a03fd9f4 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1074,6 +1074,10 @@ bool recording_screen(bool no_source) | |||
1074 | #endif | 1074 | #endif |
1075 | 1075 | ||
1076 | #if CONFIG_CODEC == SWCODEC | 1076 | #if CONFIG_CODEC == SWCODEC |
1077 | /* hardware samplerate gets messed up so prevent mixer playing */ | ||
1078 | int keyclick = global_settings.keyclick; | ||
1079 | global_settings.keyclick = 0; | ||
1080 | |||
1077 | /* recording_menu gets messed up: so prevent manus talking */ | 1081 | /* recording_menu gets messed up: so prevent manus talking */ |
1078 | talk_disable(true); | 1082 | talk_disable(true); |
1079 | /* audio_init_recording stops anything playing when it takes the audio | 1083 | /* audio_init_recording stops anything playing when it takes the audio |
@@ -1956,6 +1960,9 @@ rec_abort: | |||
1956 | 1960 | ||
1957 | /* restore talking */ | 1961 | /* restore talking */ |
1958 | talk_disable(false); | 1962 | talk_disable(false); |
1963 | |||
1964 | /* restore keyclick */ | ||
1965 | global_settings.keyclick = keyclick; | ||
1959 | #else /* !SWCODEC */ | 1966 | #else /* !SWCODEC */ |
1960 | audio_init_playback(); | 1967 | audio_init_playback(); |
1961 | #endif /* CONFIG_CODEC == SWCODEC */ | 1968 | #endif /* CONFIG_CODEC == SWCODEC */ |