Archived:Background noise while streaming zero-filled buffers (Known Issue)
debjit.roy
(Talk | contribs) (Debjit.roy -) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update - Fix metadata etc) |
||
| Line 1: | Line 1: | ||
| − | [[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]][[Category:S60 2nd Edition]][[Category:S60 3rd Edition]][[Category:S60 3rd Edition | + | [[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]][[Category:S60 2nd Edition (initial release)]][[Category:S60 3rd Edition (initial release)]][[Category:S60 3rd Edition FP1]] |
| − | + | {{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= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> |
| − | |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 2nd Edition and FP1, FP2, FP3<br>S60 3rd Edition and 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= May 21, 2007 | ||
| + | |author= [[User:Technical writer 1]] | ||
| + | <!-- The following are not in current metadata --> | ||
| + | |subcategory= Audio | ||
| + | |id= KIS000656 | ||
}} | }} | ||
| Line 26: | Line 31: | ||
==Solution== | ==Solution== | ||
| − | Applications should not implement a | + | Applications should not implement a 'mute' functionality by streaming zero-filled buffers. Instead, the output stream should either be stopped or its volume level should be set to 0.<br>Note that adjusting the volume is a significantly faster operation than stopping/ restarting the stream. |
Revision as of 03:09, 16 March 2012
Article Metadata
Compatibility
Platform(s): S60 2nd Edition and FP1, FP2, FP3
S60 3rd Edition and FP1
S60 3rd Edition and FP1
Article
Created: User:Technical writer 1
(21 May 2007)
Last edited: hamishwillee
(16 Mar 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}}.
Description
In some S60 devices the level of background noise may be disturbing when using an audio output stream to play back silence; that is, when the stream is fed with zero-filled buffers.
Solution
Applications should not implement a 'mute' functionality by streaming zero-filled buffers. Instead, the output stream should either be stopped or its volume level should be set to 0.
Note that adjusting the volume is a significantly faster operation than stopping/ restarting the stream.

