Archived:Full duplex with PCM16 codec produces echo on Nokia N95 with AD-54 headset (Known Issue)
debjit.roy
(Talk | contribs) (Debjit.roy -) |
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)) |
||
| (5 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | [[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition | + | {{Archived|timestamp=20120313123208|user=roy.debjit| }} |
| − | + | [[Category:Symbian C++]][[Category:Known Issue]][[Category:S60 3rd Edition FP1]][[Category:Hardware]][[Category:Audio]] | |
| − | + | {{ArticleMetaData <!-- v1.2 --> | |
| − | + | ||
| − | {{ArticleMetaData | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
| − | |sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> | + | |devices= Nokia N95, Nokia N95 8GB |
| − | |devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) --> | + | |sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) --> |
| − | |signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | + | |platform= S60 3rd Edition, FP1 |
| − | |capabilities=<!-- Capabilities required (e.g. Location, NetworkServices. | + | |devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) --> |
| − | |author=[[User:Technical writer 1]] | + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> |
| + | |signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer --> | ||
| + | |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 --> | ||
| + | |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== | ||
| Line 29: | 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: | |
| − | + | 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.

