Bug 841 - After the rest break, my sound volume goes down to minimum levels
Status:
RESOLVED FIXED
Component:
Core
Version:
1.8.5
Hardware:
PC Windows XP
Importance:
P5 major
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
May 25 2009 23:52:39 UTC
by:
Melinda Harper
Modified:
Jul 15 2009 20:38:18 UTC
CC List:
Austin Hastings
Ray Satiro
WhoWhenWhatRemovedAdded
Ray SatiroMay 27 2009 00:50:18 UTCccRay Satiro
Austin HastingsMay 28 2009 18:18:26 UTCccAustin Hastings
Ray SatiroMay 29 2009 20:21:15 UTCstatusNEWASSIGNED
Rob CaelersJul 15 2009 20:38:18 UTCstatusASSIGNEDRESOLVED
resolutionFIXED
Description
Melinda Harper  May 25 2009 23:52:39 UTC
After the Rest Break runs (I don't know if this is also true for the Mini Break also), the sound volume for the Wave category of sound gets turned way down.  I have to open the volume control to reset it every time.  The volume control software is SigmaTel Audio.  It is incredibly annoying as I listen to my messages and voice mail on the computer.  I have tried and tried to reset the preferences.

thank you.
Melinda Harper
Comment 1
Ray Satiro  May 27 2009 00:50:18 UTC
I have reviewed the SoundPlayer code in Workrave 1.8.5 and I don't see anything that could cause the problem you describe. Do you ever have the problem when Workrave is not running? I googled SigmaTel Audio and it looks some versions of the driver software have loudness control. Could that be the problem?
Comment 2
Austin Hastings  May 28 2009 18:18:26 UTC
I have the same problem. It seems that the volume that is selected in the Workrave Preferences page is unilaterally applied as "the" volume for playing Wave files in the Windows Volume Control Panel.
 
To reproduce:  

- Set the volume in Workrave Preferences to some low value, like 5. Close the Preferences. 

- Using the taskbar, force a Rest Break. Wait until the exercise plays a sound. Skip the remainder of the Rest Break.

- Bring up the volume control panel (from the taskbar), or by ControlPanel>Sound>[Audio] tab>Sound playback>Volume. 

- Observe the slider volume setting in the "Wave" column (2nd from left, for me)

- Close the volume-related windows.

- Open Workrave Preferences, set sound volume to much higher number, like 60.

- Force another Rest Break. Wait for a sound to play during exercises.

- Re-open the Volume control panel, observe the "Wave" setting. 
 
 
The problem seems to be that Workrave is setting the SYSTEM volume (at least for wave playback) instead of regulating its own volume. Thus, when WR plays sounds, it interferes with the settings for e.g., iTunes, etc., because the system setting acts as a filter on them, too.

More information seems to be under "Audio Mixer Reference" on msdn.
Comment 3
Austin Hastings  May 29 2009 12:57:09 UTC
As a potential work-around, there is a second "sounds theme" that can be selected in the Sounds tab of Workrave Preferences. Using these sounds, called "Subtle", may permit you to leave the Workrave volume set higher, which would eliminate or mitigate the "workrave sets my volume too low" problem.
Comment 4
Melinda Harper  May 29 2009 19:09:17 UTC
As part of trying to solve this, I uninstalled WorkRave and then downloaded the newest version.  The volume situation seemed to get fixed, but now it is crashing shortly after the exercises start for a rest break.  Melinda Harper
Comment 5
Ray Satiro  May 29 2009 20:21:15 UTC
Melinda, there is a known issue in 1.9.0 where Workrave will crash if the sound profile is set to use the PC speaker. Please check your settings.

I recently tried to reproduce the volume issue using 1.9.0 on both XP and Vista. I do not have the problem that either of you describe. I don't doubt there's a problem, but it's almost imperative that we be able to reproduce it. I will review the sound profile code in 1.9.0 in the next few days. What OS are you using Austin?
Comment 6
Austin Hastings  May 29 2009 20:39:19 UTC
I'm using a Dell Latitude D-820 laptop with Microsoft Windows XP, Professional, Version 2002, Service Pack 3. Like Melinda my sound playback device is "Sigma Tel Audio".

I have WR configured to play through the sound card.
Comment 7
Rob Caelers  Jul 15 2009 20:38:18 UTC
I reimplemented the windows sound driver (no uses directsound). Should be fixed.