Namespaces

Variants
Actions

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.

CMdaAudioConvertUtility::OpenL fails with KerrNotSupported

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Compatibility
Platform(s): S60 1st Edition
S60 2nd Edition
S60 2nd Edition (initial release)
S60 1st Edition
Article
Created: User:Technical writer 2 (27 Feb 2003)
Last edited: lpvalente (23 Aug 2014)

Overview

CMdaAudioConvertUtility::OpenL fails with KerrNotSupported

Description

When trying to open the media server audio converter utility, I always get the KErrNotSupported error regardless of the combination of source/destination formats and codecs I use. What causes this?

Solution

There is an error in the SDK documentation for one of the CMdaAudioConvertUtility::OpenL function overloads.
The parameter descriptions for the function taking 8 parameters should be as follows:

void OpenL(TMdaClipLocation* aPriLocation,
TMdaClipLocation* aSecLocation,
TMdaClipFormat* aPriFormat,
TMdaClipFormat* aSecFormat,
TMdaPackage* aPriArg1 = NULL,
TMdaPackage* aPriArg2 = NULL,
TMdaPackage* aSecArg1 = NULL,
TMdaPackage* aSecArg2 = NULL) = 0;


TMdaClipLocation* aPriLocation  The source location for audio data. This is usually a file (TMdaFileClipLocation) or a descriptor (TMdaDesClipLocation).
TMdaClipLocation* aLocation  The target location for audio data. This is usually a file (TMdaFileClipLocation) or a descriptor (TMdaDesClipLocation).
TMdaClipFormat* aPriFormat  The audio format of the source audio object.
TMdaClipFormat* aSecFormat  The audio format of the target audio object.
TMdaPackage* aPriArg1  The codec used by the source audio object.
TMdaPackage* aPriArg2  The audio settings of the source audio object.
TMdaPackage* aSecArg1 The codec to be used for the target audio object.
TMdaPackage* aSecArg2 The audio settings for the target audio object.

This page was last modified on 23 August 2014, at 02:59.
61 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.

×