[Bug 59434] noatun sets volume to 100% temporarily on startup

Charles Samuels charles at kde.org
Fri Jul 25 17:44:56 BST 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=59434     
charles at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From charles at kde.org  2003-07-25 18:44 -------
Subject: kdemultimedia/noatun/library

CVS commit by charles: 

don't change the volume on startup twice, fixes #59434.

CCMAIL: 59434-done at bugs.kde.org


  M +4 -3      engine.cpp   1.92


--- kdemultimedia/noatun/library/engine.cpp  #1.91:1.92
@@ -423,5 +423,5 @@ bool Engine::initArts()
         {
                 d->server = Arts::Reference("global:Arts_SoundServerV2");
-                int volume = d->volumeControl ? d->volumeControl->volume() : 100;
+                int volume = d->volumeControl ? d->volumeControl->volume() : -1;
                 delete d->volumeControl;
                 d->volumeControl=0;
@@ -538,4 +538,5 @@ bool Engine::initArts()
                         d->globalEffectStack.insertBottom(d->visStack, "Visualization Stack");
                         d->volumeControl=VolumeControls::volumeControl(this);
+                        if (volume != -1)
                         d->volumeControl->setVolume(volume);
                 }



More information about the kde-multimedia mailing list