From 0729b928ce14eafc09efe484bf19df2346880159 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 24 Nov 2006 19:49:04 +0000 Subject: 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 --- apps/enc_config.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/enc_config.c') 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, -- cgit v1.2.3