×
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)
extkbeditor2 (Talk | contribs)
m
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
{{KnowledgeBase
|colspan = "2"|
+
|id=KIS000168
=====AMR recording on Nokia 7610 and Nokia 6260 devices=====
+
|platform=S60 2nd Edition, FP1
|
+
|devices=Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
=====KIS000168=====
+
|category=
 +
|subcategory=
 +
|creationdate=December 7, 2004
 +
|keywords=
 +
}}
  
|-
+
==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.
=====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.
+
  
|-
+
==Symptoms==
|
+
The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.
=====Reported against=====
+
|colspan = "2"|S60 2nd Edition, FP1<br>Nokia 7610, software version 4.0420.1 and Nokia 6260, software version 2.0426.0
+
  
|-
+
==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.
=====Date identified=====
+
|colspan = "2"|December 7, 2004
+
  
|-
+
==How to reproduce==
|
+
<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>
=====Symptoms=====
+
|colspan = "2"|The AMR does not get recorded at all and the KErrNotSupported (-5) error is returned.
+
  
|-
+
==Solution==
|
+
Record the AMR to a file using CMdaAudioRecorderUtility::OpenFileL(const TDesC& aFileName).
=====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=====
 
|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>
 
 
|-
 
|
 
=====Solution=====
 
|colspan = "2"|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]]

Revision as of 14:48, 21 October 2008

Template:KBKI


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: (07 Dec 2004)
Last edited: extkbeditor2 (21 Oct 2008)

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).

199 page views in the last 30 days.