! 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 !
Starting Xfce with muted audio - plugin is not dispalying it
Status:
RESOLVED: FIXED
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description Miro Hrončok 2009-02-28 11:02:03 CET
I have mixer plugin on my panel. It is for chanel Master. If I start Xfce with muted Master, it is not shown on the icon. I should unmute and mute it againt to see the right icon.
Comment 1 Jarno Suni 2009-03-09 13:46:19 CET
Same problem here, Xfce version 4.6. Same thing happens for the Capture track.

Additionally, there are tracks such as "Wave Surround" track that can not be explicitly muted, but only set to 0% volume level. The plugin turns its volume correctly to 0%, when you middle-click, and it shows muted icon for it, but when you middle-click the muted icon, it looks the same as it was before "muting", but the volume is still at 0%. It should set the old volume level, instead. Even if you can change its icon mute, it shows 0% level icon for it after restarting. Could it show muted icon even after restart?

Jannis Pohlmann, could you please fix these soon?
Comment 2 Jannis Pohlmann editbugs 2009-03-09 13:51:28 CET
(In reply to comment #1)
> Same problem here, Xfce version 4.6. Same thing happens for the Capture track.

I'll look into that. Should be easy to fix it.
 
> Additionally, there are tracks such as "Wave Surround" track that can not be
> explicitly muted, but only set to 0% volume level. The plugin turns its volume
> correctly to 0%, when you middle-click, and it shows muted icon for it, but
> when you middle-click the muted icon, it looks the same as it was before
> "muting", but the volume is still at 0%. It should set the old volume level,
> instead. Even if you can change its icon mute, it shows 0% level icon for it
> after restarting. Could it show muted icon even after restart?

That's a bug in GStreamer then. The mixer assumes all tracks can be muted. It just mutes them. If their volume drops to zero, that's not due to the mixer. BTW, this is completely off-topic as it has nothing to do with the original bug report.
Comment 3 Jarno Suni 2009-03-09 15:55:11 CET
(In reply to comment #2)

> I'll look into that. Should be easy to fix it.

Thanks :)

> That's a bug in GStreamer then. The mixer assumes all tracks can be muted. It
> just mutes them. If their volume drops to zero, that's not due to the mixer.
> BTW, this is completely off-topic as it has nothing to do with the original bug
> report.

Are you sure. Strictly speaking, you can't mute e.g. Capture track; gst_mixer_set_mute () function does not work for input tracks. However, "Wave Surround" is just a normal stereo playback track in my system, but you can't mute it for some reason (not even by "amixer set 'Wave Surround' mute" in terminal).

You have point about off-topic. But it is not completely off-topic: The plugin for "Wave Surround" does not show muted icon after restart, even if it did when you logged out. Maybe this will be fixed along with the rest of the bug.
Comment 4 izapolsky 2009-04-03 11:37:30 CEST
Hi,

I am observing same behavior with mixer applet.

(I have set main for "mixer track" setting) 

For example, mute audio with alsamixer m button for main channel and observe that xfce mixer will display that audio is muted
Use restart-X button combo (ctrl-alt-backspace by defaul) and observe that 
1) alsamixer displays main channel as muted
2) xfce mixers displays audio as not muted

Thanks.
Comment 5 Jannis Pohlmann editbugs 2009-04-05 09:11:08 CEST
This should be fixed in revision 29703 and will be part of Xfce 4.6.1:

        * panel-plugin/xfce-mixer-plugin.c: Display mute/record state properly
          on startup (bug #5002). Fix segfault when destroying the plugin
          (thanks to Cody Somerville for hunting this one down) (bug #4948).
        * xfce4-mixer/xfce-mixer-track.c: Move capture track check into
          xfce_mixer_track_update_record().
        * xfce4-mixer/xfce-mixer.c: Don't increment the reference count on
          GObjects when passing them to GValue using g_value_set_object().

Marking this one as fixed. Please reopen if it still crashes on your machine.

Bug #5002

Reported by:
Miro Hrončok
Reported on: 2009-02-28
Last modified on: 2009-07-14

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information