diff options
Diffstat (limited to 'firmware/export/audio.h')
-rw-r--r-- | firmware/export/audio.h | 5 |
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); | |||
186 | void audio_stop_recording(void); | 186 | void audio_stop_recording(void); |
187 | void audio_pause_recording(void); | 187 | void audio_pause_recording(void); |
188 | void audio_resume_recording(void); | 188 | void audio_resume_recording(void); |
189 | #if CONFIG_CODEC == SWCODEC | ||
190 | static inline void audio_new_file(const char *filename) | ||
191 | { audio_record(filename); } | ||
192 | #else | ||
189 | void audio_new_file(const char *filename); | 193 | void audio_new_file(const char *filename); |
194 | #endif /* CONFIG_CODEC == SWCODEC */ | ||
190 | void audio_set_recording_options(struct audio_recording_options *options); | 195 | void audio_set_recording_options(struct audio_recording_options *options); |
191 | void audio_set_recording_gain(int left, int right, int type); | 196 | void audio_set_recording_gain(int left, int right, int type); |
192 | unsigned long audio_recorded_time(void); | 197 | unsigned long audio_recorded_time(void); |