diff options
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/alsa.cpp | 1 | ||||
-rw-r--r-- | alc/backends/coreaudio.cpp | 8 | ||||
-rw-r--r-- | alc/backends/dsound.cpp | 14 | ||||
-rw-r--r-- | alc/backends/jack.cpp | 4 | ||||
-rw-r--r-- | alc/backends/oboe.cpp | 1 | ||||
-rw-r--r-- | alc/backends/opensl.cpp | 3 | ||||
-rw-r--r-- | alc/backends/oss.cpp | 2 | ||||
-rw-r--r-- | alc/backends/winmm.cpp | 4 |
8 files changed, 19 insertions, 18 deletions
diff --git a/alc/backends/alsa.cpp b/alc/backends/alsa.cpp index 74713590..c1690867 100644 --- a/alc/backends/alsa.cpp +++ b/alc/backends/alsa.cpp @@ -31,6 +31,7 @@ #include <exception> #include <functional> #include <memory> +#include <mutex> #include <string> #include <thread> #include <utility> diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp index 19a1f753..c2a79815 100644 --- a/alc/backends/coreaudio.cpp +++ b/alc/backends/coreaudio.cpp @@ -22,17 +22,17 @@ #include "coreaudio.h" +#include <cmath> #include <inttypes.h> +#include <memory> +#include <mutex> #include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <string> #include <string.h> #include <unistd.h> -#include <cmath> -#include <memory> -#include <string> - #include "alnumeric.h" #include "core/converter.h" #include "core/device.h" diff --git a/alc/backends/dsound.cpp b/alc/backends/dsound.cpp index 05117781..ffcd8430 100644 --- a/alc/backends/dsound.cpp +++ b/alc/backends/dsound.cpp @@ -25,10 +25,6 @@ #define WIN32_LEAN_AND_MEAN #include <windows.h> -#include <stdlib.h> -#include <stdio.h> -#include <memory.h> - #include <cguid.h> #include <mmreg.h> #ifndef _WAVEFORMATEXTENSIBLE_ @@ -36,13 +32,17 @@ #include <ksmedia.h> #endif +#include <algorithm> #include <atomic> #include <cassert> -#include <thread> +#include <functional> +#include <memory.h> +#include <mutex> +#include <stdlib.h> +#include <stdio.h> #include <string> +#include <thread> #include <vector> -#include <algorithm> -#include <functional> #include "albit.h" #include "alnumeric.h" diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp index 7e1e8fc7..b12edf9f 100644 --- a/alc/backends/jack.cpp +++ b/alc/backends/jack.cpp @@ -22,12 +22,12 @@ #include "jack.h" +#include <array> #include <cstdlib> #include <cstdio> #include <cstring> #include <memory.h> - -#include <array> +#include <mutex> #include <thread> #include <functional> diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp index 4c47190e..c74b0180 100644 --- a/alc/backends/oboe.cpp +++ b/alc/backends/oboe.cpp @@ -5,6 +5,7 @@ #include <cassert> #include <cstring> +#include <mutex> #include <stdint.h> #include "alnumeric.h" diff --git a/alc/backends/opensl.cpp b/alc/backends/opensl.cpp index 0c2936b2..c9053816 100644 --- a/alc/backends/opensl.cpp +++ b/alc/backends/opensl.cpp @@ -26,9 +26,10 @@ #include <stdlib.h> #include <jni.h> -#include <new> #include <array> #include <cstring> +#include <mutex> +#include <new> #include <thread> #include <functional> diff --git a/alc/backends/oss.cpp b/alc/backends/oss.cpp index 9e247be1..1fdee701 100644 --- a/alc/backends/oss.cpp +++ b/alc/backends/oss.cpp @@ -31,12 +31,10 @@ #include <algorithm> #include <atomic> #include <cerrno> -#include <cstdio> #include <cstring> #include <exception> #include <functional> #include <memory> -#include <new> #include <string> #include <thread> #include <utility> diff --git a/alc/backends/winmm.cpp b/alc/backends/winmm.cpp index 135b59df..edb875a0 100644 --- a/alc/backends/winmm.cpp +++ b/alc/backends/winmm.cpp @@ -55,8 +55,8 @@ namespace { #define DEVNAME_HEAD "OpenAL Soft on " -al::vector<std::string> PlaybackDevices; -al::vector<std::string> CaptureDevices; +std::vector<std::string> PlaybackDevices; +std::vector<std::string> CaptureDevices; bool checkName(const al::vector<std::string> &list, const std::string &name) { return std::find(list.cbegin(), list.cend(), name) != list.cend(); } |