×
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
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot fixing redirect link.(Moving links from forum.nokia.com TO developer.nokia.com))
hamishwillee (Talk | contribs)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Symbian C++]]
+
{{Archived|timestamp=20120313123208|user=roy.debjit| }}
[[Category:Known Issue]]
+
[[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition FP1]][[Category:Hardware]][[Category:Audio]]
[[Category:S60 3rd Edition, Feature Pack 1]]
+
{{ArticleMetaData <!-- v1.2 -->
[[Category:Hardware]]
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
[[Category:Audio]]
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
{{KBKI}}
+
|devices= Nokia N95, Nokia N95 8GB
__NOTOC__
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
__NOEDITSECTION__
+
|platform= S60 3rd Edition, FP1
{{KnowledgeBase
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|id=KIS001042
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|platform=S60 3rd Edition, FP1
+
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
|devices=Nokia N95, Nokia N95 8GB
+
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
|category=Symbian C++
+
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
|subcategory=Audio, Hardware
+
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
|creationdate=June 19, 2008
+
|translated-by= <!-- [[User:XXXX]] -->
|keywords=
+
|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= 20080619
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= KIS001042
 
}}
 
}}
 
+
 
 
==Description==
 
==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.
+
{{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.}}
  
 
==How to reproduce==
 
==How to reproduce==
Line 24: Line 33:
  
 
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.

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.
97 page views in the last 30 days.
×