Setting AMR encoding mode for audio input stream (Known Issue)
S60 3rd Edition, S60 5th Edition
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
S60 2nd Edition (initial release)
Updated: March 23, 2010)
S60 devices support streaming audio in AMR encoded format from S60 2nd Edition, Feature Pack 2 onwards. However, the AMR input stream is always encoded using the default encoding mode, which cannot be changed using APIs from the public SDK.
The default AMR-NB encoding mode for most S60 devices is 5.15 kbps (mode 1). CMdaAudioInputStream::SetBitRateL() (or any other streaming API on S60 SDK) cannot be used for selecting another encoding mode.
S60 3rd and 5th Editions
Custom AMR encoder configuration is possible with Speech Encoder Config API, available in the SDK API Plug-in packages for S60 3rd Edition and 5th Edition SDKs.
S60 2nd Edition
No solution available. Note that selecting a non-default encoding mode is possible when converting PCM to AMR using the CMMFCodec class. See TSS000457 - Configuring CMMFCodec for encoding audio to AMR.