diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-24 19:49:04 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-24 19:49:04 +0000 |
commit | 0729b928ce14eafc09efe484bf19df2346880159 (patch) | |
tree | a8561f21607bab954580fb8a6b3fafbb33e691c9 /apps/enc_config.c | |
parent | 516d277958019ba27362d5f9fcc5ee70acc87c45 (diff) | |
download | rockbox-0729b928ce14eafc09efe484bf19df2346880159.tar.gz rockbox-0729b928ce14eafc09efe484bf19df2346880159.zip |
Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/enc_config.c')
-rw-r--r-- | apps/enc_config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/enc_config.c b/apps/enc_config.c index 384e679c42..2d2abae61a 100644 --- a/apps/enc_config.c +++ b/apps/enc_config.c | |||
@@ -49,6 +49,8 @@ static bool enc_no_config_menu(struct encoder_config *cfg); | |||
49 | /** Function definitions for each codec - add these to enc_data | 49 | /** Function definitions for each codec - add these to enc_data |
50 | list following the definitions **/ | 50 | list following the definitions **/ |
51 | 51 | ||
52 | /** aiff_enc.codec **/ | ||
53 | |||
52 | /** mp3_enc.codec **/ | 54 | /** mp3_enc.codec **/ |
53 | /* mp3_enc: return encoder capabilities */ | 55 | /* mp3_enc: return encoder capabilities */ |
54 | static void mp3_enc_get_caps(const struct encoder_config *cfg, | 56 | static void mp3_enc_get_caps(const struct encoder_config *cfg, |
@@ -209,6 +211,13 @@ static const struct encoder_data | |||
209 | bool (*menu)(struct encoder_config *); | 211 | bool (*menu)(struct encoder_config *); |
210 | } enc_data[REC_NUM_FORMATS] = | 212 | } enc_data[REC_NUM_FORMATS] = |
211 | { | 213 | { |
214 | /* aiff_enc.codec */ | ||
215 | [REC_FORMAT_AIFF] = { | ||
216 | NULL, | ||
217 | NULL, | ||
218 | NULL, | ||
219 | enc_no_config_menu, | ||
220 | }, | ||
212 | /* mp3_enc.codec */ | 221 | /* mp3_enc.codec */ |
213 | [REC_FORMAT_MPA_L3] = { | 222 | [REC_FORMAT_MPA_L3] = { |
214 | mp3_enc_get_caps, | 223 | mp3_enc_get_caps, |