[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2011-05-31 Thread Pedro Villavicencio
** Package changed: gnome-media (Ubuntu) = pulseaudio (Ubuntu)

** Changed in: pulseaudio (Ubuntu)
   Importance: Undecided = Low

** Changed in: pulseaudio (Ubuntu)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in Ubuntu.
https://bugs.launchpad.net/bugs/672420

Title:
  Changing volume to 0% breaks channel ballance

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2010-11-30 Thread Raymond
The point is gnome-media seem does not keep the setting of volume

e.g. when you increase the volume to over 100% , log out and login , you
will find the volume change to 100%

-- 
Changing volume to 0% breaks channel ballance
https://bugs.launchpad.net/bugs/672420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2010-11-18 Thread Bug Watch Updater
** Changed in: gnome-media
   Status: Unknown = New

-- 
Changing volume to 0% breaks channel ballance
https://bugs.launchpad.net/bugs/672420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2010-11-17 Thread Murz
Can we fix this bug with ballance? Or it must be fixed in pulseaudio?
And what can we do for add support surround4.1, 5.1, 7.1 and other 
configurations? 
Because configuring different volumes per channel in surround systems needs 
more often than in only stereo system.
I think better is to store each volume per-channel, instead of ballance.
I have create the bug in pulseaudio about this: http://pulseaudio.org/ticket/874


** Bug watch added: PulseAudio sound server #874
   http://pulseaudio.org/ticket/874

** Also affects: gnome-media via
   http://pulseaudio.org/ticket/874
   Importance: Unknown
   Status: Unknown

-- 
Changing volume to 0% breaks channel ballance
https://bugs.launchpad.net/bugs/672420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2010-11-10 Thread Raymond
Using  4 controls : Volume , Balance, Fade and Bass to control six or
eight channels is not easy especially when gnome-media cannot
save/restore the settings of this four controls


This bug is in pa_cvolume_set_balance() since left and right will be zero when 
you set the volume to 0% 


 655 get_avg_lr(map, v, left, right);
 656 
 657 m = PA_MAX(left, right);
 658 
 659 if (new_balance = 0) {
 660 nright  = (new_balance + 1.0f) * m;
 661 nleft = m;
 662 } else  {
 663 nleft = (1.0f - new_balance) * m;
 664 nright = m;
 665 }
 666 
 667 for (c = 0; c  map-channels; c++) {
 668 if (on_left(map-map[c])) {
 669 if (left == 0)
 670 v-values[c] = nleft;
 671 else
 672 v-values[c] = (pa_volume_t) PA_CLAMP_VOLUME(((uint64_t) 
v-values[c] * (uint64_t) nleft) / (uint64_t) left);
 673 } else if (on_right(map-map[c])) {
 674 if (right == 0)
 675 v-values[c] = nright;
 676 else
 677 v-values[c] = (pa_volume_t) PA_CLAMP_VOLUME(((uint64_t) 
v-values[c] * (uint64_t) nright) / (uint64_t) right);
 678 }
 679 }
 680 

pa_cvolume_get_balance() return 0 when

623 if (left == right)
624 return 0.0f;

-- 
Changing volume to 0% breaks channel ballance
https://bugs.launchpad.net/bugs/672420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 672420] Re: Changing volume to 0% breaks channel ballance

2010-11-07 Thread Murz


-- 
Changing volume to 0% breaks channel ballance
https://bugs.launchpad.net/bugs/672420
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-media in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs