aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 11:12:26 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 11:12:26 +0900
commit5065868b997912ff6caf6060f4198aafcc84b404 (patch)
tree556c4e4b9d6961f61dc26284b646f3f228ec2b9a
parent943aece1739caab20af5e6d82f9159e107a2f908 (diff)
experimental wasapi out (disabled, doesn't work on wine)
-rw-r--r--win32/soundout.c7
1 files changed, 7 insertions, 0 deletions
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;