mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
core-util: Improve get_path() documentation
This commit is contained in:
parent
d3290e958b
commit
02d6aa6480
1 changed files with 3 additions and 3 deletions
|
|
@ -2138,9 +2138,9 @@ char *pa_make_path_absolute(const char *p) {
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if fn is null return the PulseAudio run time path in s (~/.pulse)
|
/* If fn is NULL, return the PulseAudio runtime or state dir (depending on the
|
||||||
* if fn is non-null and starts with / return fn
|
* rt parameter). If fn is non-NULL and starts with /, return fn. Otherwise,
|
||||||
* otherwise append fn to the run time path and return it */
|
* append fn to the runtime/state dir and return it. */
|
||||||
static char *get_path(const char *fn, pa_bool_t prependmid, pa_bool_t rt) {
|
static char *get_path(const char *fn, pa_bool_t prependmid, pa_bool_t rt) {
|
||||||
char *rtp;
|
char *rtp;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue