×
Namespaces

Variants
Actions

CMdaAudioConvertUtility::OpenL fails with KerrNotSupported

From Nokia Developer Wiki
Jump to: navigation, search
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: hamishwillee (14 Jun 2013)

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 14 June 2013, at 08:14.
45 page views in the last 30 days.
×