summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 00:01:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit8cb555460ff79e636a7907fb2589e16db98c8600 (patch)
tree930a3878c7641c9ce045b24f0ade1309e36d5806 /apps/recorder/recording.h
parent0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff)
downloadrockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz
rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'apps/recorder/recording.h')
-rw-r--r--apps/recorder/recording.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h
index 406986e8e0..12088f84f6 100644
--- a/apps/recorder/recording.h
+++ b/apps/recorder/recording.h
@@ -33,17 +33,14 @@ void settings_apply_trigger(void);
33/* If true, start recording automatically when recording_sreen() is entered */ 33/* If true, start recording automatically when recording_sreen() is entered */
34extern bool recording_start_automatic; 34extern bool recording_start_automatic;
35 35
36#if CONFIG_CODEC == SWCODEC
37/* handles device powerup, sets audio source and peakmeter mode */ 36/* handles device powerup, sets audio source and peakmeter mode */
38void rec_set_source(int source, unsigned flags); 37void rec_set_source(int source, unsigned flags);
39#endif /* CONFIG_CODEC == SW_CODEC */
40 38
41/* Initializes a recording_options structure with global settings. 39/* Initializes a recording_options structure with global settings.
42 pass returned data to audio_set_recording_options or 40 pass returned data to audio_set_recording_options or
43 rec_set_recording_options */ 41 rec_set_recording_options */
44void rec_init_recording_options(struct audio_recording_options *options); 42void rec_init_recording_options(struct audio_recording_options *options);
45/* steals mp3 buffer, sets source and then options */ 43/* steals mp3 buffer, sets source and then options */
46/* SRCF_RECORDING is implied for SWCODEC */
47void rec_set_recording_options(struct audio_recording_options *options); 44void rec_set_recording_options(struct audio_recording_options *options);
48 45
49enum recording_command 46enum recording_command