summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-01-04 19:47:38 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-01-05 17:47:55 -0800
commit27ccad541ab4a7b1331ff60a41165ffd324c341c (patch)
tree5f6ab9e8acafa8bd3afa1b854487eb98fbcbd1e1 /audio/out/ao_wasapi.c
parentbf611ff0f6e801f18b7cc5ba0fd9fb415ca0dade (diff)
downloadmpv-27ccad541ab4a7b1331ff60a41165ffd324c341c.tar.bz2
mpv-27ccad541ab4a7b1331ff60a41165ffd324c341c.tar.xz
ao_wasapi: remove unnecessary header file
All the wasapi files were including both ao_wasapi.h and ao_wasapi_utils.h. Just merge them into a single file.
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 2a4834d1b1..1c0e85b7bb 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -17,23 +17,14 @@
* with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
#include <math.h>
#include <inttypes.h>
-#include <process.h>
-#include <initguid.h>
-#include <audioclient.h>
-#include <endpointvolume.h>
-#include <mmdeviceapi.h>
-#include <avrt.h>
#include <libavutil/mathematics.h>
-#include "audio/out/ao_wasapi.h"
-#include "audio/out/ao_wasapi_utils.h"
-
-#include "audio/format.h"
+#include "options/m_option.h"
#include "osdep/timer.h"
#include "osdep/io.h"
+#include "ao_wasapi.h"
// naive av_rescale for unsigned
static UINT64 uint64_scale(UINT64 x, UINT64 num, UINT64 den)