pzorin / qgo

qGo is a Go Client (IGS, WING, LGS, WBaduk/CyberORO, Tygem, Tom, and eWeiqi) based on Qt 5. No active development is happening nor should any be expected.
GNU General Public License v2.0
81 stars 34 forks source link

Incorrect volume adjustments upon starting and stopping qgo #13

Closed smiley1983 closed 10 years ago

smiley1983 commented 10 years ago

When I launch qgo, it sets my volume controls to 100% (running on Arch linux, either pre-built from community repo or built from source from this repository).

When I shut down qgo, it reduces the master volume to a level equivalent to the previous combined settings.

It would be great if the adjustment of the volume settings could be optional, but it seems that it happens even if I select "sound off" in the preferences.

I had a look in src/audio, and grepped for "volume" to see if I could fix the problem myself, but neither of those seemed to reveal the place in the code where this is happening.

pzorin commented 10 years ago

The only place where audio-related headers are included in the qgo source is in audio.cpp, and it does nothing to adjust the volume. I therefore assume that this is a problem in your distribution's qtmultimedia or pulseaudio packages.

smiley1983 commented 10 years ago

Great, thank you for the feedback, I'll look into those packages.