! 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 !
mixer panel plugin doesn't support correctly multiple sound cards
Status:
RESOLVED: FIXED
Product:
Xfce4-mixer
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2007-05-26 09:46:33 CEST
A debian user reported that volume control plugin doesn't work correctly when using multiple sound cards.

It seems that except for default soundcard the plugins are not associated with the soundcard at Xfce startup (but it does save correctly which card they are configured too and the settings).

For more information, you can see Debian bugreport at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422433

Regards,
--
Yves-Alexis Perez
Comment 1 michael@elehack.net 2008-10-10 17:48:28 CEST
This bug has also shown up Fedora with PulseAudio:

https://bugzilla.redhat.com/show_bug.cgi?id=456887
Comment 2 dannym editbugs 2009-01-11 17:47:01 CET
I could imagine this being broken, I don't have more than one soundcard. Someone that does should check what it does at the loading code:

"panel-plugin/mixer-preferences.gob" is the passive data class for the settings of the plugin.

"panel-plugin/mixer-prefbox.gob" is the active object that represents the GUI of the panel plugin settings. Its function "fill_preferences" will be called, passing an instance of the mixer-preferences and at the end it will call "emit self_device_changed (self);". "device_changed" will then take care to set the currently active device using "vc_set_device" of the "libxfce4mixer". It will use what is in the entry of the device optionbox "self->device_cb->entry" in the GUI at that time.

So put a
  g_warning("%s", txt)
into function
  void device_changed (self)
at mixer-prefbox.gob line 142, right after "txt" was assigned. 
on the shell call 
  ./gobs
  make
  make install
Run the panel with the plugin in a terminal (or just check ".xsession-errors").
Check what the g_warning actually outputs now.
Comment 3 dannym editbugs 2009-01-11 22:22:28 CET
*** Bug 4668 has been marked as a duplicate of this bug. ***
Comment 4 Guido Berhoerster 2012-09-28 11:56:42 CEST
I cannot reproduce this, at least with version 4.9.0 it will correctly select the card it is configured to use on startup. The Debian report suggests that this was already fixed in version 4.6.0 or 4.8.0.

Bug #3283

Reported by:
Yves-Alexis Perez
Reported on: 2007-05-26
Last modified on: 2012-09-28
Duplicates (1):
  • 4668 Mixer2 always says it has the same vol. as mixer1

People

CC List:
4 users

Version

Attachments

Additional information