diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-02-12 11:12:26 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-02-12 11:12:26 +0900 |
commit | 5065868b997912ff6caf6060f4198aafcc84b404 (patch) | |
tree | 556c4e4b9d6961f61dc26284b646f3f228ec2b9a /win32 | |
parent | 943aece1739caab20af5e6d82f9159e107a2f908 (diff) |
experimental wasapi out (disabled, doesn't work on wine)
Diffstat (limited to 'win32')
-rw-r--r-- | win32/soundout.c | 7 |
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; |