diff options
author | Chris Robinson <[email protected]> | 2021-04-26 07:56:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-26 08:04:50 -0700 |
commit | 22a8ebff8094785ec53aadef8489dc60f6939d55 (patch) | |
tree | d5297c7fa444e1ac3e2980a2d49cae50f041ddc3 /alc/backends/pulseaudio.cpp | |
parent | 2479483645bf719233fa5d39bc91682f12d71350 (diff) |
Move GetChannelIdxByName and clean up some more includes
Diffstat (limited to 'alc/backends/pulseaudio.cpp')
-rw-r--r-- | alc/backends/pulseaudio.cpp | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/alc/backends/pulseaudio.cpp b/alc/backends/pulseaudio.cpp index 39eed771..da1ffcb0 100644 --- a/alc/backends/pulseaudio.cpp +++ b/alc/backends/pulseaudio.cpp @@ -23,31 +23,47 @@ #include "backends/pulseaudio.h" -#include <poll.h> -#include <cstring> - +#include <algorithm> #include <array> -#include <string> -#include <vector> #include <atomic> -#include <thread> -#include <algorithm> -#include <functional> +#include <bitset> +#include <chrono> #include <condition_variable> +#include <cstring> +#include <functional> +#include <limits> +#include <mutex> +#include <new> +#include <poll.h> +#include <stdint.h> +#include <stdlib.h> +#include <string> +#include <sys/types.h> +#include <thread> +#include <utility> -#include "alcmain.h" -#include "alu.h" +#include "albyte.h" #include "alconfig.h" +#include "almalloc.h" +#include "alnumeric.h" +#include "aloptional.h" +#include "alspan.h" +#include "core/devformat.h" +#include "core/device.h" #include "core/helpers.h" #include "core/logging.h" #include "dynload.h" +#include "opthelpers.h" #include "strutils.h" +#include "vector.h" #include <pulse/pulseaudio.h> namespace { +using uint = unsigned int; + #ifdef HAVE_DYNLOAD #define PULSE_FUNCS(MAGIC) \ MAGIC(pa_mainloop_new); \ |