×
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)
hamishwillee (Talk | contribs)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{Archived|timestamp=20120313123208|user=roy.debjit| }}
 
[[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition FP1]][[Category:Hardware]][[Category:Audio]]
 
[[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition FP1]][[Category:Hardware]][[Category:Audio]]
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
Line 22: Line 23:
 
|author= [[User:Technical writer 1]]
 
|author= [[User:Technical writer 1]]
 
<!-- The following are not in current metadata -->
 
<!-- The following are not in current metadata -->
|subcategory= Audio, Hardware
 
 
|id= KIS001042
 
|id= KIS001042
 
}}
 
}}
{{Archived|timestamp=20120313123208|user=roy.debjit| }}
 
 
    
 
    
 
==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 34: 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.
65 page views in the last 30 days.
×