Namespaces
Variants
Actions
(Difference between revisions)

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

Jump to: navigation, search
m
Line 1: Line 1:
 
{{KBKI}}
 
{{KBKI}}
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
__NOTOC__
|colspan = "2"|'''Background noise while streaming zero-filled buffers'''
+
__NOEDITSECTION__
|'''KIS000656'''
+
{{KnowledgeBase
 +
|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=
 +
}}
  
|-
+
==Description==
|'''Overview'''
+
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.
|colspan = "2"|-
+
  
|-
+
==Solution==
|'''Category'''
+
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.
|colspan = "2"|Symbian C<nowiki>++</nowiki>
+
 
+
|-
+
|'''Subcategory'''
+
|colspan = "2"|Audio
+
 
+
|-
+
|'''Reported against'''
+
|colspan = "2"|S60 2nd Edition and FP1, FP2, FP3<br>S60 3rd Edition and FP1
+
 
+
|-
+
|'''Date identified'''
+
|colspan = "2"|May 21, 2007
+
 
+
|-
+
|'''Symptoms'''
+
|colspan = "2"|-
+
 
+
|-
+
|'''Detailed description'''
+
|colspan = "2"|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.
+
 
+
|-
+
|'''How to reproduce'''
+
|colspan = "2"|-
+
 
+
|-
+
|'''Solution'''
+
|colspan = "2"|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.
+
  
 
[[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]] [[Category:S60 2nd Edition]] [[Category:S60 3rd Edition]][[Category:S60 3rd Edition, Feature Pack 1]]
 
[[Category:Known Issue]][[Category:Symbian C++]][[Category:Audio]] [[Category:S60 2nd Edition]] [[Category:S60 3rd Edition]][[Category:S60 3rd Edition, Feature Pack 1]]

Revision as of 16:56, 27 October 2008

Template:KBKI


Article Metadata

Compatibility
Platform(s): S60 2nd Edition and FP1, FP2, FP3
S60 3rd Edition and FP1

Article
Created: (21 May 2007)
Last edited: extkbeditor2 (27 Oct 2008)

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.

323 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved