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/waveout.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'win32/waveout.h') diff --git a/win32/waveout.h b/win32/waveout.h index ff33b01..d8c4c3a 100644 --- a/win32/waveout.h +++ b/win32/waveout.h @@ -3,11 +3,7 @@ #include "soundout.h" -struct waveout_state; - -struct waveout_state *waveout_init(HWND hwnd, unsigned srate, unsigned sectlen, +struct sound_state *waveout_init(HWND hwnd, unsigned srate, unsigned sectlen, sound_callback cbfunc, void *userptr); -void waveout_delete(struct waveout_state *waveout); -void waveout_pause(struct waveout_state *waveout, int pause); #endif // MYON_WAVEOUT_H_INCLUDED -- cgit v1.2.3