! 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 plugin fails to get volume
Status:
CLOSED: FIXED
Severity:
trivial
Product:
Xfce4-mixer
Component:
General

Comments

Description a.lerche 2003-11-23 13:04:19 CET
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.
Comment 1 Jasper Huijsmans editbugs 2003-11-23 13:24:13 CET
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.
Comment 2 dannym editbugs 2004-02-15 13:04:29 CET
okay, we changed it to being able to put max. 1 mixer plugin item in the panel

edited on: 02-15 13:06
Comment 3 dannym editbugs 2004-02-15 13:06:54 CET
fixed in cvs: only 1 mixer plugin per panel now.
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-10-30 06:14:32 CEST
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...
Comment 5 Matthias Sauppe 2004-12-01 16:53:00 CET
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...
Comment 6 dannym editbugs 2004-12-07 17:29:43 CET
huh? I'm totally lost.

Doesn't it always show the current volume?

Comment 7 Matthias Sauppe 2004-12-16 19:11:59 CET
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 :\
Comment 8 dannym editbugs 2005-01-23 09:47:44 CET
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?
Comment 9 dannym editbugs 2005-01-23 09:51:23 CET
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)

Bug #22

Reported by:
a.lerche
Reported on: 2003-11-23
Last modified on: 2009-07-15

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Attachments

Additional information