If one adds 2 mixer plugins to the panel (makes no sense, I know) and removes one of these plugins, the remaining plugin fails to get the volume. This is the log: ** (xfce4-panel:1360): CRITICAL **: file vc_oss.c: line 206 (vc_get_volume): assertion `mixer_handle != -1' failed Tested with newest cvs checkout and 4.01.
Yes, this is near the top of my list. I'm going to add a way for the plugins to tell the panel there can be only one. This should be in the next release.
okay, we changed it to being able to put max. 1 mixer plugin item in the panel edited on: 02-15 13:06
fixed in cvs: only 1 mixer plugin per panel now.
mass moving to general, so i can remove the "plugins" component, and i'm too lazy to sort each one into the proper plugin-related component on the new product. filter on "oisjdfa8uf4t8" to delete all this spam...
well, I don't think that this is a 'fix' - it's just a workaround. For me it would be way better that the volume plugin would always show the current volume. Since I'm using a keyboard with hotkeys and I also often change the volume using those hotkeys on the keyboard, the shown volume doesn't represent the correct volume. Maybe there is a way to listen for volume-change-events. I would really appreciate it...
huh? I'm totally lost. Doesn't it always show the current volume?
Well, I'm using a MS Natural Pro keyboard together with xhotkeys. Whenever I change the volume, no matter whether using the keyboard hotkeys or alsamixer, the volume changes, but the volume plugin doesn't update correctly :\
did you compile mixer with --with-sound=alsa ? (not that it should matter but just so I know where to look) and just to clarify: It also doesnt work with just 1 mixer plugin on the panel?
as a side note, there is no way to listen for volume change events with oss afaik. There is an official documented way to listen for volume change events with alsa, but it doesnt work at all. Hence, with both drivers I use a timer & oldvalue approach every few seconds to check if something changed (= "light" polling)