diff options
Diffstat (limited to 'apps/recorder/recording.h')
-rw-r--r-- | apps/recorder/recording.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h index aa216e757f..a977efa749 100644 --- a/apps/recorder/recording.h +++ b/apps/recorder/recording.h | |||
@@ -32,15 +32,16 @@ int rec_create_directory(void); | |||
32 | #define SRCF_FMRADIO_PLAYING 0x0000 /* default */ | 32 | #define SRCF_FMRADIO_PLAYING 0x0000 /* default */ |
33 | #define SRCF_FMRADIO_PAUSED 0x2000 | 33 | #define SRCF_FMRADIO_PAUSED 0x2000 |
34 | #endif | 34 | #endif |
35 | void rec_set_source(int source, int flags); | 35 | void rec_set_source(int source, unsigned flags); |
36 | #endif /* CONFIG_CODEC == SW_CODEC */ | 36 | #endif /* CONFIG_CODEC == SW_CODEC */ |
37 | 37 | ||
38 | /* Initializes a recording_options structure with global settings. | ||
39 | pass returned data to audio_set_recording_options or | ||
40 | rec_set_recording_options */ | ||
41 | void rec_init_recording_options(struct audio_recording_options *options); | ||
38 | /* steals mp3 buffer, sets source and then options */ | 42 | /* steals mp3 buffer, sets source and then options */ |
39 | /* SRCF_RECORDING is implied */ | 43 | /* SRCF_RECORDING is implied for SWCODEC */ |
40 | void rec_set_recording_options(int frequency, int quality, | 44 | void rec_set_recording_options(struct audio_recording_options *options); |
41 | int source, int source_flags, | ||
42 | int channel_mode, bool editable, | ||
43 | int prerecord_time); | ||
44 | 45 | ||
45 | /* steals mp3 buffer, creates unique filename and starts recording */ | 46 | /* steals mp3 buffer, creates unique filename and starts recording */ |
46 | void rec_record(void); | 47 | void rec_record(void); |