[pulseaudio-discuss] [PATCH 2/9] Find modules and config files relative to the installed libraries.

Colin Guthrie gmane at colin.guthr.ie
Thu Mar 17 17:26:08 PDT 2011


'Twas brillig, and Maarten Bosmans at 16/03/11 09:55 did gyre and gimble:
> +#ifdef OS_IS_WIN32
> +    {
> +        char *toplevel = pa_win32_get_toplevel(NULL);
> +        c->dl_search_path = pa_sprintf_malloc("%s" PA_PATH_SEP "lib" PA_PATH_SEP "pulse-1.0" PA_PATH_SEP "modules", toplevel);
> +    }
> +#else

Is there no nicer way to get this path than hard-coding pulse-1.0 here?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list