Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Setting AMR encoding mode for audio input stream (Known Issue)

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): All (S60)
Keywords: SetBitRateL
Created: User:Technical writer 1 (March 30, 2007
Updated: March 23, 2010)
Last edited: hamishwillee (01 Aug 2012)


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.

See also

This page was last modified on 1 August 2012, at 04:40.
59 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.