From 5065868b997912ff6caf6060f4198aafcc84b404 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 12 Feb 2017 11:12:26 +0900 Subject: experimental wasapi out (disabled, doesn't work on wine) --- win32/soundout.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'win32/soundout.c') diff --git a/win32/soundout.c b/win32/soundout.c index 7f04e16..5cf5b49 100644 --- a/win32/soundout.c +++ b/win32/soundout.c @@ -1,10 +1,17 @@ #include "soundout.h" #include "dsoundout.h" #include "waveout.h" +#include "wasapiout.h" struct sound_state *sound_init(HWND hwnd, unsigned srate, unsigned sectlen, sound_callback cbfunc, void *userptr) { struct sound_state *state; + /* + state = wasapi_init(hwnd, srate, sectlen, cbfunc, userptr); + if (state) { + return state; + } + */ state = dsound_init(hwnd, srate, sectlen, cbfunc, userptr); if (state) { return state; -- cgit v1.2.3