×
Namespaces

Variants
Actions
Revision as of 07:39, 1 August 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CMdaAudioConvertUtility not supported on S60 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): All (S60)
Compatibility
Platform(s): S60 2nd Edition (all Feature Packs)
S60 3rd Edition (all Feature Packs)
S60 5th Edition
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
S60 2nd Edition (initial release)
Article
Keywords: CMdaAudioConvertUtility
Created: User:Technical writer 1 (July 7, 2006, updated December 17, 2008)
Last edited: hamishwillee (01 Aug 2012)

Description

CMdaAudioConvertUtility, which is part of Symbian’s Media Client Audio API, is not supported since S60 1st Edition (v1.2). When used on newer platforms, all variants of CMdaAudioConvertUtility::OpenL() will return KErrNotSupported error code.

Solution

Audio convert utility is no longer supported in S60. Streaming applications no longer need to convert audio to PCM format before passing it to the stream. Instead, it is possible to read or write compressed audio data directly from/to the stream, provided that a supported data type (fourCC code) is used when initialising the stream object.

For example, when using CMdaAudioInputStream to read audio data directly in AMR-NB format:

 void MyStreamClass::MaiscOpenComplete(TInt aError)
{
iInputStream->SetDataTypeL(KMMFFourCCCodeAMR);
...
}

Conversion between different audio encoding types is supported only via the CMMFCodec API. Conversion can be done between encoding types if a suitable decoder/encoder combination is supported by the device. See the Device multimedia feature tables available at Nokia Developer for more information about codecs in S60 devices.

See also

Device multimedia feature tables available at Nokia Developer

Encoding and Decoding using MMF based Codec( CMMFCodec )

This page was last modified on 1 August 2012, at 07:39.
100 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.

×