pipewire/src/examples
Sanchayan Maity f4a949dc3a examples: media-session: Conform to XDG base directory spec
Currently pipewire-media-session uses ~/.pipewire-media-session for
storing configuration. Use home directory as specified by XDG base
directory specification viz. XDG_CONFIG_HOME and fall back to using
a default of $HOME/.config as per the spec if XDG_CONFIG_HOME is not
set or empty. Also in addition, all cases are now handled the same
and always end up using "%s/.config/pipewire-media-session".

If neither XDG_CONFIG_HOME or HOME are set, fall back to the earlier
approach.

Fixes: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/271

Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>

Fixes !298
2020-09-09 17:51:30 +02:00
..
media-session examples: media-session: Conform to XDG base directory spec 2020-09-09 17:51:30 +02:00
audio-dsp-filter.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
audio-dsp-src.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
audio-src.c examples: catch signal and clean up 2020-06-03 15:26:54 +02:00
bluez-session.c avoid some useless assignments 2020-05-20 15:24:25 +02:00
export-sink.c use true and false for boolean properties 2020-03-03 18:17:46 +01:00
export-source.c improve debug 2020-04-22 12:47:18 +02:00
export-spa-device.c pw_impl_module_load -> pw_context_load_module 2019-12-11 17:40:32 +01:00
export-spa.c examples: clean up proxy 2020-07-13 13:12:20 +02:00
local-v4l2.c local-v4l2: fix leaks 2020-06-05 12:43:26 +02:00
meson.build media-session: add module to restore stream settings 2020-08-17 17:55:20 +02:00
sdl.h Run codespell on the entire codebase 2020-08-17 17:16:31 +00:00
video-dsp-play.c examples: don't use lrintf for each sample 2020-03-18 17:40:26 +01:00
video-play-reneg.c example: add example of renegotiation 2020-06-19 12:17:47 +02:00
video-play.c examples: add support for YUV data 2020-07-31 11:44:20 +02:00
video-src-alloc.c impl-link: start of renegotiation 2020-06-19 12:14:46 +02:00
video-src-reneg.c example: add more debug 2020-07-15 14:14:23 +02:00
video-src.c examples: don't hardcode dimensions for crop info 2020-06-18 11:43:34 +02:00