×
Namespaces

Variants
Actions
(Difference between revisions)

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

From Nokia Developer Wiki
Jump to: navigation, search
debjit.roy (Talk | contribs)
(Debjit.roy -)
hamishwillee (Talk | contribs)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
[[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]][[Category:S60 2nd Edition]][[Category:S60 3rd Edition]][[Category:S60 3rd Edition, Feature Pack 1]]
+
{{Archived|timestamp=20120314045558|user=roy.debjit| }}
{{KBKI}}
+
[[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]]
__NOTOC__
+
{{ArticleMetaData <!-- v1.2 -->
__NOEDITSECTION__
+
{{ArticleMetaData
+
|id=KIS000656
+
|platform=S60 2nd Edition and FP1, FP2, FP3<br>S60 3rd Edition and FP1
+
|devices=
+
|category=Symbian C<nowiki>++</nowiki>
+
|subcategory=Audio
+
|creationdate=May 21, 2007
+
|keywords=
+
 
+
 
|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 (initial release) and FP1, FP2, FP3<br>S60 3rd Edition (initial release) 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= 20070521
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= KIS000656
 
}}
 
}}
  
{{Archived|timestamp=20120314045558|user=roy.debjit| }}
 
 
==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.
 +
 
 +
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.
109 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×