Archived:AAC recording for different sampling rates using Symbian C++
Not all the sampling rates and channel settings described in TMdaAudioDataSettings will work on all devices for PCM recording. For example, the Nokia 6210 Navigator records PCM audio only at 8kHz, 16kHz, and 48kHz sampling rates. If the samples need to be converted to AAC with a different sampling rate (such as 24kHz or 32 kHz), the PCM data must be resampled to the required sampling rate before passing it to the CMMFCodec for encoding.
Implement an upsampler or downsampler algorithm to convert each recorded PCM audio buffer to the desired sampling rate before passing it to the CMMFCodec for AAC encoding.