From fc1ea6ee5b5135e70e1a0e9b2737f6189b740691 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 26 Jan 2017 20:32:26 +0900 Subject: refactor win32 sound output and improve stability under load --- win32/dsoundout.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'win32/dsoundout.h') diff --git a/win32/dsoundout.h b/win32/dsoundout.h index 10482e6..0a96889 100644 --- a/win32/dsoundout.h +++ b/win32/dsoundout.h @@ -3,11 +3,7 @@ #include "soundout.h" -struct dsound_state; - -struct dsound_state *dsound_init(HWND hwnd, unsigned srate, unsigned sectlen, +struct sound_state *dsound_init(HWND hwnd, unsigned srate, unsigned sectlen, sound_callback cbfunc, void *userptr); -void dsound_delete(struct dsound_state *dsound); -void dsound_pause(struct dsound_state *dsound, int pause); #endif // MYON_DSOUNDOUT_H_INCLUDED -- cgit v1.2.3