summaryrefslogtreecommitdiff
path: root/firmware/export/audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/audio.h')
-rw-r--r--firmware/export/audio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index 6a98d6f4c5..716b1ad5d3 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -186,7 +186,12 @@ void audio_record(const char *filename);
186void audio_stop_recording(void); 186void audio_stop_recording(void);
187void audio_pause_recording(void); 187void audio_pause_recording(void);
188void audio_resume_recording(void); 188void audio_resume_recording(void);
189#if CONFIG_CODEC == SWCODEC
190static inline void audio_new_file(const char *filename)
191 { audio_record(filename); }
192#else
189void audio_new_file(const char *filename); 193void audio_new_file(const char *filename);
194#endif /* CONFIG_CODEC == SWCODEC */
190void audio_set_recording_options(struct audio_recording_options *options); 195void audio_set_recording_options(struct audio_recording_options *options);
191void audio_set_recording_gain(int left, int right, int type); 196void audio_set_recording_gain(int left, int right, int type);
192unsigned long audio_recorded_time(void); 197unsigned long audio_recorded_time(void);