! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce mixer panel plugin doesn't respect balance.
Status:
RESOLVED: FIXED
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description oliver 2006-11-27 16:55:12 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061120 Firefox/2.0
Build Identifier: 

the panel plugin and the mixer don't respect balance settings on an audio device.

For xfce4-mixer itself, that's really not a problem, there's other mixers out there.
But for the panel, that's just highly annoying. I change my balance to 25% more on the left than the right (using gkrellm/alsamixer) and everytime I want to quickly change the volume, my balance is immediatly trashed.

Reproducible: Always




I'm attaching a small patch that starts a fix, that needs to worked out a bit more.
Comment 1 oliver 2006-11-27 16:56:55 CET
Created attachment 888 
mixer balance respect.

Since the entire panel (nor xfce-mixer itself) respect balance at all, this is really a perfect solution at.

It is patched against SVN mixer/beta 4.3.99 beta2
Comment 2 oliver 2006-11-27 16:59:03 CET
It should be noted that it currently only works when not clipping top/bottom. (like alsamixer)

So it'll respect the balance of the current volume, up to the max volume, if left has all ready reached the top, and right hasn't and the volume is still going up, then this basically reduces the ratio between the two.
Comment 3 dannym editbugs 2009-01-11 16:02:55 CET
very nice, thanks. applied that.

what does it do for controls that have only one channel?

Bug #2611

Reported by:
oliver
Reported on: 2006-11-27
Last modified on: 2009-07-14

People

CC List:
0 users

Version

Attachments

mixer balance respect. (3.53 KB, application/octet-stream)
2006-11-27 16:56 CET , oliver
no flags

Additional information