output/wasapi: use forward declarations in the header
This commit is contained in:
parent
6d65cc48d7
commit
9521c1ad58
|
@ -26,7 +26,9 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
|
#include <audioclient.h>
|
||||||
#include <endpointvolume.h>
|
#include <endpointvolume.h>
|
||||||
|
#include <mmdeviceapi.h>
|
||||||
|
|
||||||
class WasapiMixer final : public Mixer {
|
class WasapiMixer final : public Mixer {
|
||||||
WasapiOutput &output;
|
WasapiOutput &output;
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "WasapiOutputPlugin.hxx"
|
#include "WasapiOutputPlugin.hxx"
|
||||||
|
#include "output/OutputAPI.hxx"
|
||||||
#include "lib/icu/Win32.hxx"
|
#include "lib/icu/Win32.hxx"
|
||||||
#include "mixer/MixerList.hxx"
|
#include "mixer/MixerList.hxx"
|
||||||
#include "output/Error.hxx"
|
#include "output/Error.hxx"
|
||||||
|
@ -49,8 +50,10 @@
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <variant>
|
#include <variant>
|
||||||
|
|
||||||
|
#include <audioclient.h>
|
||||||
#include <initguid.h>
|
#include <initguid.h>
|
||||||
#include <functiondiscoverykeys_devpkey.h>
|
#include <functiondiscoverykeys_devpkey.h>
|
||||||
|
#include <mmdeviceapi.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
static constexpr Domain wasapi_output_domain("wasapi_output");
|
static constexpr Domain wasapi_output_domain("wasapi_output");
|
||||||
|
|
|
@ -20,13 +20,11 @@
|
||||||
#ifndef MPD_WASAPI_OUTPUT_PLUGIN_HXX
|
#ifndef MPD_WASAPI_OUTPUT_PLUGIN_HXX
|
||||||
#define MPD_WASAPI_OUTPUT_PLUGIN_HXX
|
#define MPD_WASAPI_OUTPUT_PLUGIN_HXX
|
||||||
|
|
||||||
#include "output/OutputAPI.hxx"
|
|
||||||
|
|
||||||
#include <audioclient.h>
|
|
||||||
#include <mmdeviceapi.h>
|
|
||||||
|
|
||||||
extern const struct AudioOutputPlugin wasapi_output_plugin;
|
extern const struct AudioOutputPlugin wasapi_output_plugin;
|
||||||
|
|
||||||
|
struct IMMDevice;
|
||||||
|
struct IAudioClient;
|
||||||
|
class AudioOutput;
|
||||||
class WasapiOutput;
|
class WasapiOutput;
|
||||||
|
|
||||||
[[gnu::pure]]
|
[[gnu::pure]]
|
||||||
|
|
Loading…
Reference in New Issue