×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Full duplex with PCM16 codec produces echo on Nokia N95 with AD-54 headset (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
hamishwillee (Talk | contribs)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:For publishing]]
+
{{Archived|timestamp=20120313123208|user=roy.debjit| }}
[[Category:Symbian C++]]
+
[[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition FP1]][[Category:Hardware]][[Category:Audio]]
[[Category:Known Issue]]
+
{{ArticleMetaData <!-- v1.2 -->
[[Category:S60 3rd Edition, Feature Pack 1]]
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
[[Category:Hardware]]
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
[[Category:Audio]]
+
|devices= Nokia N95, Nokia N95 8GB
{{KBKI}}
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
__NOTOC__
+
|platform= S60 3rd Edition, FP1
__NOEDITSECTION__
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
{|style="background:#eceff2" width="660px" border="1" cellpadding="5" cellspacing="0"
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|-
+
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
|'''ID''' ||KIS001042
+
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
|'''Creation date''' ||June 19, 2008
+
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
|-
+
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
|'''Platform''' ||S60 3rd Edition, FP1
+
|translated-by= <!-- [[User:XXXX]] -->
|'''Devices''' || Nokia N95, Nokia N95 8GB
+
|translated-from-title= <!-- Title only -->
|-
+
|translated-from-id= <!-- Id of translated revision -->
|'''Category''' ||Symbian C++
+
|review-by= <!-- After re-review: [[User:username]] -->
|'''Subcategory''' ||Audio, Hardware
+
|review-timestamp= <!-- After re-review: YYYYMMDD -->
|}
+
|update-by= <!-- After significant update: [[User:username]]-->
 
+
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20080619
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= KIS001042
 +
}}
 +
 
 
==Description==
 
==Description==
 +
{{Abstract|Simultaneous audio playback and recording (full duplex) may result in echo and/or feedback loop when certain wired headsets are attached and audio is being streamed in uncompressed PCM16 format.}}
  
Simultaneous audio playback and recording (full duplex) may result in echo and/or feedback loop when certain wired headsets are attached and audio is being streamed in uncompressed PCM16 format.
+
==How to reproduce==
 
+
The example application [http://www.developer.nokia.com/info/sw.nokia.com/id/8b3a6ed3-e833-4f7c-aee1-4c773196f894/S60_Platform_Full-Duplex_Audio_Example_v2_0_en.zip.html S60 Platform: Full-Duplex Audio Example] supports four codecs: AMR, G.711, G.729, and iLBC.
== How to reproduce ==
+
 
+
The example application [http://www.forum.nokia.com/info/sw.nokia.com/id/8b3a6ed3-e833-4f7c-aee1-4c773196f894/S60_Platform_Full-Duplex_Audio_Example_v2_0_en.zip.html S60 Platform: Full-Duplex Audio Example] supports four codecs: AMR, G.711, G.729, and iLBC.
+
  
 
With the following modifications, also support for PCM16 format can be added:
 
With the following modifications, also support for PCM16 format can be added:
 
+
<code cpp>
// Specify PCM16 fourCC as follows:
+
// Specify PCM16 fourCC as follows:
fourCC = TFourCC(' ', 'P', '1', '6');
+
fourCC = TFourCC(' ', 'P', '1', '6');
 
   
 
   
// Sample rate:
+
// Sample rate:
conf.iRate = EMMFSampleRate16000Hz;
+
conf.iRate = EMMFSampleRate16000Hz;
 
+
// Buffer size:
+
const TUint KBufferLength = 0x2000;
+
  
 +
// Buffer size:
 +
const TUint KBufferLength = 0x2000;
 +
</code>
 
Running full-duplex audio with this configuration works fine on most devices, but
 
Running full-duplex audio with this configuration works fine on most devices, but
 
produces echo on the Nokia N95 when used with the AD-54 headset.
 
produces echo on the Nokia N95 when used with the AD-54 headset.
  
 
==Solution==
 
==Solution==
 
 
No solution exists.
 
No solution exists.

Latest revision as of 09:24, 21 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}}.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia N95 8GB
Compatibility
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Article
Created: User:Technical writer 1 (19 Jun 2008)
Last edited: hamishwillee (21 Jun 2012)

[edit] Description

Simultaneous audio playback and recording (full duplex) may result in echo and/or feedback loop when certain wired headsets are attached and audio is being streamed in uncompressed PCM16 format.

[edit] How to reproduce

The example application S60 Platform: Full-Duplex Audio Example supports four codecs: AMR, G.711, G.729, and iLBC.

With the following modifications, also support for PCM16 format can be added:

// Specify PCM16 fourCC as follows:
fourCC = TFourCC(' ', 'P', '1', '6');
 
// Sample rate:
conf.iRate = EMMFSampleRate16000Hz;
 
// Buffer size:
const TUint KBufferLength = 0x2000;

Running full-duplex audio with this configuration works fine on most devices, but produces echo on the Nokia N95 when used with the AD-54 headset.

[edit] Solution

No solution exists.

This page was last modified on 21 June 2012, at 09:24.
76 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.

×