include cleanup using iwyu
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "MixerInternal.hxx"
|
||||
#include "OutputAPI.hxx"
|
||||
#include "ConfigData.hxx"
|
||||
#include "system/fd_util.h"
|
||||
#include "util/ASCII.hxx"
|
||||
#include "util/Error.hxx"
|
||||
@@ -28,10 +28,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@@ -26,7 +26,6 @@
|
||||
#include "util/Domain.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <pulse/thread-mainloop.h>
|
||||
#include <pulse/context.h>
|
||||
#include <pulse/introspect.h>
|
||||
#include <pulse/stream.h>
|
||||
@@ -34,7 +33,6 @@
|
||||
#include <pulse/error.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
struct PulseMixer final : public Mixer {
|
||||
PulseOutput *output;
|
||||
|
@@ -20,20 +20,17 @@
|
||||
#ifndef MPD_PULSE_MIXER_PLUGIN_HXX
|
||||
#define MPD_PULSE_MIXER_PLUGIN_HXX
|
||||
|
||||
#include <pulse/def.h>
|
||||
|
||||
struct PulseMixer;
|
||||
struct pa_context;
|
||||
struct pa_stream;
|
||||
|
||||
void
|
||||
pulse_mixer_on_connect(PulseMixer *pm, struct pa_context *context);
|
||||
pulse_mixer_on_connect(PulseMixer *pm, pa_context *context);
|
||||
|
||||
void
|
||||
pulse_mixer_on_disconnect(PulseMixer *pm);
|
||||
|
||||
void
|
||||
pulse_mixer_on_change(PulseMixer *pm,
|
||||
struct pa_context *context, struct pa_stream *stream);
|
||||
pulse_mixer_on_change(PulseMixer *pm, pa_context *context, pa_stream *stream);
|
||||
|
||||
#endif
|
||||
|
@@ -21,8 +21,8 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "MixerInternal.hxx"
|
||||
#include "OutputAPI.hxx"
|
||||
#include "output/RoarOutputPlugin.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
struct RoarMixer final : public Mixer {
|
||||
/** the base mixer class */
|
||||
|
Reference in New Issue
Block a user