×
Namespaces

Variants
Actions
Revision as of 15:41, 23 August 2007 by Forum Nokia KB (Talk | contribs)

Archived:AMR cannot be recorded to a descriptor on Nokia 7610 and Nokia 6260 devices (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Template:KBKI


AMR recording on Nokia 7610 and Nokia 6260 devices
KIS000168
Overview
AMR-encoded audio cannot be recorded to a descriptor on S60 2nd Edition, Feature Pack 1 devices (such as Nokia 7610 and Nokia 6260) using the CMdaAudioRecorderUtility::OpenDesL() method.
Reported against
S60 2nd Edition, FP1
Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
Date identified
December 7, 2004
Symptoms
The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.
Detailed description
The required AMR Write Plugin UID (0x101FAF7E) for the method clashes with the Advanced Audio Controller UID. Currently the only way to record an AMR is to do it with the CmdAudioRecorderUtility::OpenFileL() method. AMR audio can only be recorded to a file on these devices.
How to reproduce

Call CMdaAudioRecorderUtility::OpenDesL(TDesC8& aDescriptor,
    TUid aControllerUid,
    TUid aPlaybackControllerUid=KNullUid,
    TUid aFormatUid=KNullUid,
    TFourCC aCodec=NULL);
with the following parameters:
aControllerUid  = { 0x101FAF7D } // Nokia Advanced Audio //Controller UID
aFormatUid  = { 0x101FAF7E } // AMR-NB Write Format UID
aCodec  = { 0x524D4120 } // AMR-NB codec FourCC code
Solution
Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName).
104 page views in the last 30 days.
×