×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Background noise while streaming zero-filled buffers (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
extkbeditor2 (Talk | contribs)
m
hamishwillee (Talk | contribs)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{KBKI}}
+
{{Archived|timestamp=20120314045558|user=roy.debjit| }}
__NOTOC__
+
[[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]]
__NOEDITSECTION__
+
{{ArticleMetaData <!-- v1.2 -->
{{KnowledgeBase
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
|id=KIS000656
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|platform=S60 2nd Edition and FP1, FP2, FP3<br>S60 3rd Edition and FP1
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
|devices=
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|category=Symbian C<nowiki>++</nowiki>
+
|platform= S60 2nd Edition (initial release) and FP1, FP2, FP3<br>S60 3rd Edition (initial release) and FP1
|subcategory=Audio
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|creationdate=May 21, 2007
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|keywords=
+
|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= 20070521
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= KIS000656
 
}}
 
}}
  
 
==Description==
 
==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.
+
{{Abstract|In some S60 2nd and 3rd Edition 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==
 
==Solution==
Applications should not implement a <nowiki>’</nowiki>mute<nowiki>’</nowiki> functionality by streaming zero-filled &nbsp;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.
+
Applications should not implement a 'mute' functionality by streaming zero-filled &nbsp;buffers. Instead, the output stream should either be stopped or its volume level should be set to 0.
  
[[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]] [[Category:S60 2nd Edition]] [[Category:S60 3rd Edition]][[Category:S60 3rd Edition, Feature Pack 1]]
+
Note that adjusting the volume is a significantly faster operation than stopping/restarting the stream.

Latest revision as of 09:48, 15 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
Compatibility
Platform(s): S60 2nd Edition (initial release) and FP1, FP2, FP3
S60 3rd Edition (initial release) and FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 1 (21 May 2007)
Last edited: hamishwillee (15 Jun 2012)

[edit] Description

In some S60 2nd and 3rd Edition 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.

[edit] 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.

This page was last modified on 15 June 2012, at 09:48.
192 page views in the last 30 days.