×
Namespaces

Variants
Actions
(Difference between revisions)

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
Forum Nokia KB (Talk | contribs)
m (1 revision(s))
hamishwillee (Talk | contribs)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{Archived|timestamp=20120408141757|user=[[User:Lpvalente|Lpvalente]]}}
__NOEDITSECTION__
+
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition FP1]]
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
|colspan = "2"|
+
=====AMR recording on Nokia 7610 and Nokia 6260 devices=====
+
|
+
=====KIS000168=====
+
  
|-
 
|
 
=====Overview=====
 
|colspan = "2"|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.
 
  
|-
+
{{ArticleMetaData <!-- v1.2 -->
|
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
=====Reported against=====
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|colspan = "2"|S60 2nd Edition, FP1<br>Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
+
|devices= Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= S60 2nd Edition, FP1
 +
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|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
 +
}}
  
|-
+
==Overview==
|
+
{{Abstract|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.}}
=====Date identified=====
+
|colspan = "2"|December 7, 2004
+
  
|-
+
==Symptoms==
|
+
The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.
=====Symptoms=====
+
|colspan = "2"|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.
=====Detailed description=====
+
|colspan = "2"|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==
|
+
<code cpp>
=====How to reproduce=====
+
|colspan = "2"|<br>Call CMdaAudioRecorderUtility::OpenDesL(TDesC8& aDescriptor,<br>&nbsp;&nbsp;&nbsp;&nbsp;TUid aControllerUid,<br>&nbsp;&nbsp;&nbsp;&nbsp;TUid aPlaybackControllerUid=KNullUid,<br>&nbsp;&nbsp;&nbsp;&nbsp;TUid aFormatUid=KNullUid,<br>&nbsp;&nbsp;&nbsp;&nbsp;TFourCC aCodec=NULL);<br>with the following parameters:<br>aControllerUid&nbsp; = <nowiki>{</nowiki> 0x101FAF7D <nowiki>}</nowiki> // Nokia Advanced Audio //Controller UID<br>aFormatUid&nbsp; = <nowiki>{</nowiki> 0x101FAF7E <nowiki>}</nowiki> // AMR-NB Write Format UID<br>aCodec&nbsp; = <nowiki>{</nowiki> 0x524D4120 <nowiki>}</nowiki> // AMR-NB codec FourCC code<br>
+
  
|-
+
// call this method
|
+
CMdaAudioRecorderUtility::OpenDesL(TDesC8& aDescriptor,
=====Solution=====
+
    TUid aControllerUid,
|colspan = "2"|Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName).
+
    TUid aPlaybackControllerUid=KNullUid,
 +
    TUid aFormatUid=KNullUid,
 +
    TFourCC aCodec=NULL);
  
|-
+
// with the following parameters:
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition]]
+
aControllerUid  = { 0x101FAF7D } // Nokia Advanced Audio //Controller UID
 +
aFormatUid  = { 0x101FAF7E } // AMR-NB Write Format UID
 +
aCodec  = { 0x524D4120 } // AMR-NB codec FourCC code
 +
 
 +
</code>
 +
 
 +
==Solution==
 +
Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName).

Latest revision as of 09:16, 15 June 2012

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
Tested with
Devices(s): Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
Compatibility
Platform(s): S60 2nd Edition, FP1
S60 2nd Edition FP1
Article
Created: User:Technical writer 1 (07 Dec 2004)
Last edited: hamishwillee (15 Jun 2012)

Contents

[edit] 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.

[edit] Symptoms

The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.

[edit] 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.

[edit] How to reproduce

// call this method
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

[edit] Solution

Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName).

This page was last modified on 15 June 2012, at 09:16.
63 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.

×