<div dir="ltr"><div>Hi Tim,</div><div><br></div><div>Firstly, thanks for volunteering! I've had a quick look at gtk-alsamixer and it doesn't seem to have any obsolete dependencies, so that's good. The bugs all look trivial to fix. However, the UI is nowhere near the quality standards set for Xfce :-)</div><div><br></div><div>I think what would be the best for Xfce users is to fork xfce4-mixer and replace all the GStreamer code with ALSA code. You could use gtk-alsamixer as an inspiration, since it contains all the functions you'll need, and modify the following files in our mixer:</div><div><br></div><div> * libxfce4mixer/libxfce4mixer.c</div><div> * xfce4-mixer/xfce-mixer-container.c</div><div> * xfce4-mixer/xfce-mixer-switch.c</div><div> * xfce4-mixer/xfce-mixer-application.c</div><div> * xfce4-mixer/xfce-mixer-controls-dialog.c</div><div> * xfce4-mixer/xfce-mixer-option.c</div><div> * xfce4-mixer/xfce-mixer-track.c</div><div> * xfce4-mixer/xfce-mixer-track.h</div><div><br></div><div>(so basically anything with gst_) My advice for you would be to extract all the gst_ starting functions to an Excel file, and find the ALSA equivalents. There should be direct equivalents from the gtk-alsamixer for all things like reading / writing the current volume, and for toggling mute/record states. Where I expect you'll find difficulties is for xfce_mixer_container_bus_message. It looks like a DBus iface and most likely the libalsa one will differ, but gtk-alsamixer does update itself when modifications are made to the track by another app, so there is a replacement method somewhere in there.</div><div><br></div><div>No need to modify the panel plugin, however. We should fork the PulseAudio one instead, it has a more modern UI. Let's first see how far you can go with the mixer itself. If you can pull it off, the panel plugin and volume daemon should be trivial to port!</div><div><br></div><div>Xfce apps are nothing special, they're regular GTK+ apps and they use the same Human Interface Guidelines as GNOME 2. If you run into bugs and are stuck, upload your code somewhere on a Git repo and ask for help in #xfce-dev. I'm sidi there.</div><div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2016 at 20:41, Tim Tassonis <span dir="ltr"><<a href="mailto:timtas@cubic.ch" target="_blank">timtas@cubic.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Steve<span class=""><br>
<br>
On 07/15/16 09:11, Steve Dodier-Lazaro wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Before starting this I should say I have *no* time in the next year, and<br>
several more urgent work packages for Xfce. But, I do intend some day to<br>
write an update to the mixer and volume daemon to use ALSA directly<br>
without GStreamer. I cannot use PulseAudio so I really need it, but like<br>
I said, no time.<br>
</blockquote>
<br>
<br></span>
I would very much appreciate this, as I also don't use pulseaudio and I am perfectly fine with alsa for general sound and jack for professional sound. Haven't come across a situation where the bloated pulseaudio is of any particular use.<br>
<br>
As xfce4-mixer does not work anymore, I have recently switched to gtk-alsamixer. I compiles with tons of errors and I had to patch it to get a reasonable initial window size, but apart from that, it just seems to work fine. I also added a desktop file and an icon. It currently resides at:<br>
<br>
<a href="https://github.com/stop-n-drink/gtk-alsamixer" rel="noreferrer" target="_blank">https://github.com/stop-n-drin<wbr>k/gtk-alsamixer</a><br>
<br>
<br>
The current maintainer of gtk-alsamixer does not seem to be very responsive, but I would be very willing to port gtk-alsamixer to a xfce4-alsamixer.<br>
<br>
If anyone is interested in that, I will start work on this. I would be very glad to some pointers how to convert a plain gtk application to use the xfce stuff.<br>
<br>
<br>
Kind regards<br>
Tim<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
Now, the same thing formulated in PR-speak:<br>
<br>
The official sound packages are the PulseAudio ones. The GStreamer 0.1<br>
packages can be provided as a matter of convenience but rely on obsolete<br>
dependencies. In the future, a replacement may become available for<br>
those who prefer to use ALSA, which will not be recommended to be used<br>
as default; though distributors have the last say on this.<br>
<br>
Cheers,<br>
<br>
On 14 July 2016 at 00:29, Mukundan Ragavan <<a href="mailto:nonamedotc@gmail.com" target="_blank">nonamedotc@gmail.com</a><br></span><span class="">
<mailto:<a href="mailto:nonamedotc@gmail.com" target="_blank">nonamedotc@gmail.com</a>>> wrote:<br>
<br>
<br>
<br>
<br>
Hi folks,<br>
<br>
I am one of the co-maintainers of several Xfce packages in Fedora and<br>
would like to get an update about xfce4-mixer.<br>
<br>
Based on the conversation at [1], I understood that xfce4-mixer is going<br>
to be obsoleted in favor of xfce4-pulseaudio-plugin. One of the emails<br>
in that thread mentioned Slackware, which, with the release of v14.2<br>
also carries pulseaudio (at least officially).<br>
<br>
Is this - pulseaudio-plugin obsoleting mixer - still the case?<br>
<br>
Many thanks,<br>
Mukundan.<br>
<br>
<br>
[1] <a href="https://mail.xfce.org/pipermail/xfce4-dev/2015-June/031290.html" rel="noreferrer" target="_blank">https://mail.xfce.org/pipermai<wbr>l/xfce4-dev/2015-June/031290.<wbr>html</a><br>
<br>
--<br>
GPG Key - E5C8BC67<br>
-------<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Xfce4-dev mailing list<br></span>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a> <mailto:<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a>><span class=""><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/<wbr>listinfo/xfce4-dev</a><br>
<br>
<br>
<br>
<br>
--<br>
Steve Dodier-Lazaro<br>
PhD Student<br>
University College London<br>
Free Software Developer<br>
<br>
<br>
______________________________<wbr>_________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/<wbr>listinfo/xfce4-dev</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<wbr>_________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/<wbr>listinfo/xfce4-dev</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Steve Dodier-Lazaro<br>PhD Student<br>University College London<br>Free Software Developer<br></div></div></div>
</div>