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); /** Function definitions for each codec - add these to enc_data list following the definitions **/ +/** aiff_enc.codec **/ + /** mp3_enc.codec **/ /* mp3_enc: return encoder capabilities */ static void mp3_enc_get_caps(const struct encoder_config *cfg, @@ -209,6 +211,13 @@ static const struct encoder_data bool (*menu)(struct encoder_config *); } enc_data[REC_NUM_FORMATS] = { + /* aiff_enc.codec */ + [REC_FORMAT_AIFF] = { + NULL, + NULL, + NULL, + enc_no_config_menu, + }, /* mp3_enc.codec */ [REC_FORMAT_MPA_L3] = { mp3_enc_get_caps, |