Archived:Full duplex with PCM16 codec produces echo on Nokia N95 with AD-54 headset (Known Issue)
extkbeditor2
(Talk | contribs) m |
hamishwillee
(Talk | contribs) m (moved Full duplex with PCM16 codec produces echo on Nokia N95 with AD-54 headset (Known Issue) to Archived:Full duplex with PCM16 codec produces echo on Nokia N95 with AD-54 headset (Known Issue)) |
||
| (8 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 | + | {{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]]) --> |
| − | {{ | + | |devices= Nokia N95, Nokia N95 8GB |
| − | + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | |
| − | + | |platform= S60 3rd Edition, FP1 | |
| − | + | |devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) --> | |
| − | | | + | |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= | + | |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 --> |
| − | |creationdate= | + | |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= 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== | ||
| − | The example application [http://www. | + | 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. |
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: | |
| − | + | fourCC = TFourCC(' ', 'P', '1', '6'); | |
| − | + | // Sample rate: | |
| − | + | conf.iRate = EMMFSampleRate16000Hz; | |
| − | + | ||
| − | + | ||
| − | + | ||
| + | // 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: 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
Article
Created: User:Technical writer 1
(19 Jun 2008)
Last edited: hamishwillee
(21 Jun 2012)
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.
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.
Solution
No solution exists.

