×
Namespaces

Variants
Actions

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

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

Description

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.

Solution

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 07:40.
55 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.

×