fix includes

Only include debug we need. We usually only need the debug types.
This commit is contained in:
Wim Taymans 2023-01-18 13:00:06 +01:00
parent 5e58e03da7
commit f472fd736d
31 changed files with 22 additions and 40 deletions

View file

@ -31,11 +31,12 @@
#include <alsa/asoundlib.h>
#include <spa/utils/type.h>
#include <spa/node/node.h>
#include <spa/utils/type.h>
#include <spa/utils/keys.h>
#include <spa/utils/names.h>
#include <spa/utils/string.h>
#include <spa/support/log.h>
#include <spa/support/loop.h>
#include <spa/support/plugin.h>
#include <spa/support/i18n.h>

View file

@ -31,11 +31,12 @@
#include <alsa/asoundlib.h>
#include <spa/utils/type.h>
#include <spa/node/node.h>
#include <spa/utils/type.h>
#include <spa/utils/keys.h>
#include <spa/utils/names.h>
#include <spa/utils/string.h>
#include <spa/support/log.h>
#include <spa/support/loop.h>
#include <spa/support/plugin.h>
#include <spa/monitor/device.h>

View file

@ -35,7 +35,6 @@
#include <spa/utils/string.h>
#include <spa/param/audio/format.h>
#include <spa/pod/filter.h>
#include <spa/debug/pod.h>
#include "alsa-pcm.h"

View file

@ -44,7 +44,6 @@
#include <spa/param/latency-utils.h>
#include <spa/pod/filter.h>
#include <spa/debug/types.h>
#include <spa/debug/pod.h>
#include "volume-ops.h"
#include "fmt-ops.h"

View file

@ -33,7 +33,6 @@
#include <spa/utils/string.h>
#include <spa/param/audio/format.h>
#include <spa/pod/filter.h>
#include <spa/debug/pod.h>
#include "avb-pcm.h"

View file

@ -33,7 +33,6 @@
#include <spa/utils/string.h>
#include <spa/param/audio/format.h>
#include <spa/pod/filter.h>
#include <spa/debug/pod.h>
#include "avb-pcm.h"

View file

@ -44,7 +44,7 @@
#include <spa/pod/builder.h>
#include <spa/monitor/device.h>
#include <spa/monitor/utils.h>
#include <spa/debug/pod.h>
#include <spa/param/param.h>
#include "libcamera.h"
#include "libcamera-manager.hpp"

View file

@ -49,8 +49,8 @@
#include <spa/node/keys.h>
#include <spa/param/video/format-utils.h>
#include <spa/param/param.h>
#include <spa/control/control.h>
#include <spa/pod/filter.h>
#include <spa/debug/pod.h>
#include <libcamera/camera.h>
#include <libcamera/stream.h>

View file

@ -39,7 +39,7 @@
#include <spa/pod/builder.h>
#include <spa/monitor/device.h>
#include <spa/monitor/utils.h>
#include <spa/debug/pod.h>
#include <spa/param/param.h>
#include "v4l2.h"

View file

@ -45,7 +45,7 @@
#include <spa/param/param.h>
#include <spa/param/latency-utils.h>
#include <spa/pod/filter.h>
#include <spa/debug/pod.h>
#include <spa/control/control.h>
#include "v4l2.h"

View file

@ -42,7 +42,6 @@
#include <spa/param/audio/format-utils.h>
#include <spa/param/format-utils.h>
#include <spa/debug/types.h>
#include <spa/debug/pod.h>
#include <spa/utils/json-pod.h>
#include "pipewire/pipewire.h"

View file

@ -38,7 +38,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>
#include <spa/param/profiler.h>

View file

@ -40,7 +40,7 @@
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>

View file

@ -40,7 +40,7 @@
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>

View file

@ -41,7 +41,7 @@
#include <spa/support/cpu.h>
#include <spa/param/profiler.h>
#include <spa/pod/dynamic.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <pipewire/utils.h>
#include <pipewire/private.h>

View file

@ -37,7 +37,7 @@
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/param/profiler.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <pipewire/private.h>
#include <pipewire/impl.h>

View file

@ -42,7 +42,7 @@
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/utils/dll.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/latency-utils.h>

View file

@ -35,7 +35,6 @@
#include <spa/utils/result.h>
#include <spa/utils/ringbuffer.h>
#include <spa/param/profiler.h>
#include <spa/debug/pod.h>
#include <pipewire/private.h>
#include <pipewire/impl.h>

View file

@ -27,7 +27,7 @@
#include "spa/pod/parser.h"
#include "spa/pod/builder.h"
#include "spa/debug/pod.h"
#include "spa/debug/types.h"
#include "spa/utils/string.h"
#include "pipewire/pipewire.h"

View file

@ -41,7 +41,7 @@
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/utils/dll.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/latency-utils.h>

View file

@ -50,7 +50,7 @@
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <spa/utils/ringbuffer.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>

View file

@ -39,7 +39,7 @@
#include <spa/utils/hook.h>
#include <spa/utils/ringbuffer.h>
#include <spa/utils/json.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <pipewire/pipewire.h>
#include <pipewire/private.h>

View file

@ -27,10 +27,6 @@
#include <spa/param/param.h>
#include <spa/buffer/alloc.h>
#include <spa/debug/node.h>
#include <spa/debug/pod.h>
#include <spa/debug/format.h>
#include "pipewire/keys.h"
#include "pipewire/private.h"

View file

@ -38,7 +38,6 @@
#include <spa/node/utils.h>
#include <spa/utils/names.h>
#include <spa/utils/string.h>
#include <spa/debug/format.h>
#include <spa/debug/types.h>
#include <pipewire/impl.h>

View file

@ -36,9 +36,7 @@
#include <spa/utils/string.h>
#include <spa/pod/filter.h>
#include <spa/pod/dynamic.h>
#include <spa/debug/format.h>
#include <spa/debug/types.h>
#include <spa/debug/pod.h>
#include "pipewire/pipewire.h"
#include "pipewire/filter.h"

View file

@ -31,14 +31,11 @@
#include <spa/pod/parser.h>
#include <spa/pod/compare.h>
#include <spa/param/param.h>
#include <spa/debug/types.h>
#include "pipewire/impl-link.h"
#include "pipewire/private.h"
#include <spa/debug/node.h>
#include <spa/debug/pod.h>
#include <spa/debug/format.h>
PW_LOG_TOPIC_EXTERN(log_link);
#define PW_LOG_TOPIC_DEFAULT log_link

View file

@ -30,14 +30,13 @@
#include <spa/buffer/alloc.h>
#include <spa/param/props.h>
#include <spa/param/format-utils.h>
#include <spa/node/io.h>
#include <spa/node/utils.h>
#include <spa/utils/ringbuffer.h>
#include <spa/pod/filter.h>
#include <spa/pod/dynamic.h>
#include <spa/debug/format.h>
#include <spa/debug/types.h>
#include <spa/debug/pod.h>
#define PW_ENABLE_DEPRECATED

View file

@ -46,7 +46,6 @@
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <spa/debug/types.h>
#include <spa/debug/pod.h>
#include <pipewire/pipewire.h>
#include <pipewire/i18n.h>

View file

@ -35,8 +35,6 @@
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/utils/json.h>
#include <spa/debug/pod.h>
#include <spa/debug/format.h>
#include <spa/debug/types.h>
#include <pipewire/pipewire.h>

View file

@ -30,7 +30,7 @@
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/pod/parser.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <pipewire/impl.h>
#include <pipewire/extensions/profiler.h>

View file

@ -31,7 +31,7 @@
#include <spa/utils/result.h>
#include <spa/utils/string.h>
#include <spa/pod/parser.h>
#include <spa/debug/pod.h>
#include <spa/debug/types.h>
#include <spa/param/format-utils.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/video/format-utils.h>