On Sat, 24 Sep 2011, Enlightenment SVN wrote:

> Log:
> better output name (description is the human-readable name).
>
>
> Author:       barbieri
> Date:         2011-09-24 21:36:08 -0700 (Sat, 24 Sep 2011)
> New Revision: 63598
> Trac:         http://trac.enlightenment.org/e/changeset/63598
>
> Modified:
>  trunk/e/src/modules/mixer/sys_pulse.c
>
> Modified: trunk/e/src/modules/mixer/sys_pulse.c
> ===================================================================
> --- trunk/e/src/modules/mixer/sys_pulse.c     2011-09-25 04:14:17 UTC (rev 
> 63597)
> +++ trunk/e/src/modules/mixer/sys_pulse.c     2011-09-25 04:36:08 UTC (rev 
> 63598)
> @@ -285,9 +285,10 @@
> const char *
> e_mixer_pulse_get_card_name(const char *card)
> {
> -   Pulse_Sink *sink;
> -   sink = _pulse_sink_find(card);
> -   return eina_stringshare_add(pulse_sink_name_get(sink));
> +   Pulse_Sink *sink = _pulse_sink_find(card);
> +   const char *s = pulse_sink_desc_get(sink);

raster told me one day that, in C, the order of initialisation is not 
necessarly the order of declaration.

Vincent

> +   if ((!s) || (!s[0])) s = pulse_sink_name_get(sink);
> +   return eina_stringshare_add(s);
> }
>
> Eina_List *
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to