! 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 !
Ignores gstreamer default audio settings
Status:
RESOLVED: FIXED

Comments

Description José Luis González 2013-04-28 16:11:20 CEST
Parole is ignoring the default audio output set in the multimedia systems selector (gstreamer-properties). Instead it uses hw:0,0.

Setting it in .asoundrc seems to work, but I understand there should be no need for that nor for the standard user knowing how to do it. Being a gstreamer and XFCE application, gstreamer-properties should be respected.
Comment 1 Sean Davis editbugs 2013-05-02 02:34:10 CEST
Hello, I just pushed a commit to git-master that I am told should address your issue.  Please test this again.
Comment 2 José Luis González 2013-05-02 12:20:05 CEST
(In reply to comment #1)
> Hello, I just pushed a commit to git-master that I am told should address
> your issue.  Please test this again.

I can't test recent versions easily. My glib is 2.24 and XFCE is 4.6.2 (running Debian squeeze) and there are no backports. Glib can probably be recompiled easily but XFCE libs could be a pain. If someone else with two sound cards and a recent environment can test it I would be very grateful. It only takes temporarily renaming .asoundrc and making sure gstream-properties are set to a non-default card (id > 0). Otherwise I could try recompiling just glib, libxfce4ui and libxfce4util, but it would take me some time and I can't promise anything.
Comment 3 José Luis González 2013-05-15 14:45:48 CEST
(In reply to comment #1)
> Hello, I just pushed a commit to git-master that I am told should address
> your issue.  Please test this again.

I've finally been able to compile (with xfconf and libxfce4util 4.10, rest Debian's XFCE 4.8) and it didn't solve it.

On my upgrade to Wheezy I have noticed, though, that gstreamer-properties is now in the gnome-media package requiring tons of GNOME stuff, so it probably doesn't much sense obeying these properties anymore. However the mixer stores the selected sound card in its settings, so it would probably make sense to use that until there are proper audio settings in XFCE. What do you think about it?

Besides, could you please require GTK 2.24 in configure? I told you privately about the README but forgot about this.
Comment 4 Sean Davis editbugs 2013-05-26 17:33:48 CEST
Hello again!

I just updated the required GTK version to 2.24 in both configure and the README.

Also, I tested setting the default gstreamer output device using pavucontrol and a Logitech G330 USB audio device.  Each time i changed the output device and started/restarted parole, it played where expected.

When I tried the same with gstreamer-properties (in the gnome-media package on Ubuntu), it did not work with setting the default device with parole or totem.  Is it possible that gstreamer-properties is perhaps gnome-only now, or that there may be something else going on?

If you happen to be using pulseaudio, could you try using pavucontrol?
Comment 5 Matias De lellis 2013-05-27 04:07:38 CEST
Hi,
The problem is that gstreamer-properties configure "gconfaudiosink".

Setting the audiosink (parole-gst.c line 2228) to "gconfaudiosink", will function as expected.

p.s: From my point of view, not worth it.
Comment 6 José Luis González 2013-05-27 10:34:35 CEST
(In reply to comment #4)
> Hello again!
> 
> I just updated the required GTK version to 2.24 in both configure and the
> README.

Great. Thank you.

> Also, I tested setting the default gstreamer output device using pavucontrol
> and a Logitech G330 USB audio device.  Each time i changed the output device
> and started/restarted parole, it played where expected.
> 
> When I tried the same with gstreamer-properties (in the gnome-media package
> on Ubuntu), it did not work with setting the default device with parole or
> totem.  Is it possible that gstreamer-properties is perhaps gnome-only now,
> or that there may be something else going on?

Yes, my impression is it's become gnomish. When I reported the bug gstream-properties was part of XFCE's settings menu and it was installed with XFCE (or parole, at least - I don't have gnome), so I thought it was environment-agnostic. Now, in my 4.8 Wheezy system it remains in the menu but the package is no longer installed and depends on a lot of gnome stuff. So I don't think it's worth supporting it.

Which makes me wonder, what is the official way to configure the default sound card in XFCE? The mixer has it's own setting, so maybe it would be better to obey that. Otherwise why would the mixer let you select a default sound card? If there is no official way, then I think parole shouldn't have to support one, besides .asoundrc.

> If you happen to be using pulseaudio, could you try using pavucontrol?

I don't remember if I have it installed. If I did, it wasn't intentionally. Will try to look into it next week.
Comment 7 Sean Davis editbugs 2013-07-23 22:17:05 CEST
Have you had a chance to look at this with pavucontrol yet?
Comment 8 José Luis González 2013-07-23 22:24:46 CEST
(In reply to Sean Davis from comment #7)
> Have you had a chance to look at this with pavucontrol yet?

I changed machine and had troubles compiling everything again. It's a nightmare when you don't have XFCE 4.10 and latest libraries.

One thing I know for sure, though. Pulse Audio isn't installed by default on Debian.

Will try to look into it this weekend.
Comment 9 José Luis González 2013-07-28 21:06:53 CEST
(In reply to Sean Davis from comment #4)

> Also, I tested setting the default gstreamer output device using pavucontrol
> and a Logitech G330 USB audio device.  Each time i changed the output device
> and started/restarted parole, it played where expected.
> 
> When I tried the same with gstreamer-properties (in the gnome-media package
> on Ubuntu), it did not work with setting the default device with parole or
> totem.  Is it possible that gstreamer-properties is perhaps gnome-only now,
> or that there may be something else going on?
> 
> If you happen to be using pulseaudio, could you try using pavucontrol?

Setting with pavucontrol works. As you, before pavucontrol (with old gstreamer-properties settings) it didn't.

If gstreamer-properties is gnomish, I think we can forget about it. Don't know why it appears in XFCE's settings menu, though.
Comment 10 Sean Davis editbugs 2013-08-03 12:32:46 CEST
Great, thanks for testing this!

Bug #10041

Reported by:
José Luis González
Reported on: 2013-04-28
Last modified on: 2013-08-03

People

Assignee:
José Luis González
CC List:
3 users

Version

Version:
0.2.0.2

Attachments

Additional information