Archived:AMR cannot be recorded to a descriptor on Nokia 7610 and Nokia 6260 devices (Known Issue)
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update - Fix metadata etc) |
||
| Line 1: | Line 1: | ||
| − | + | {{ArticleMetaData <!-- v1.2 --> | |
| − | + | ||
| − | + | ||
| − | {{ArticleMetaData | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| − | |sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | + | |devices= Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0 |
| − | |devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) --> | + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> |
| − | |signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | + | |platform= S60 2nd Edition, FP1 |
| − | |capabilities=<!-- Capabilities required (e.g. Location, NetworkServices. | + | |devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) --> |
| − | |author=[[User:Technical writer 1]] | + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> |
| + | |signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | ||
| + | |capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. --> | ||
| + | |keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase --> | ||
| + | |language= <!-- Language category code for non-English topics - e.g. Lang-Chinese --> | ||
| + | |translated-by= <!-- [[User:XXXX]] --> | ||
| + | |translated-from-title= <!-- Title only --> | ||
| + | |translated-from-id= <!-- Id of translated revision --> | ||
| + | |review-by= <!-- After re-review: [[User:username]] --> | ||
| + | |review-timestamp= <!-- After re-review: YYYYMMDD --> | ||
| + | |update-by= <!-- After significant update: [[User:username]]--> | ||
| + | |update-timestamp= <!-- After significant update: YYYYMMDD --> | ||
| + | |creationdate= 20041207 | ||
| + | |author= [[User:Technical writer 1]] | ||
| + | <!-- The following are not in current metadata --> | ||
| + | |subcategory= | ||
| + | |id= KIS000168 | ||
}} | }} | ||
| Line 35: | Line 40: | ||
Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName). | Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName). | ||
| − | [[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition]] | + | [[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition (initial release)]] |
Revision as of 05:47, 20 March 2012
Article Metadata
Tested with
Compatibility
Article
Contents |
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.
Symptoms
The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.
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).

