diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-26 20:32:26 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-01-26 20:32:26 +0900 |
commit | fc1ea6ee5b5135e70e1a0e9b2737f6189b740691 (patch) | |
tree | 53f206e2f77e3450f8c0def24c488ef19ac3a72d /win32/dsoundout.h | |
parent | 49ecf760ec6e8b145850be6f3b13020502e10eb4 (diff) |
refactor win32 sound output and improve stability under load
Diffstat (limited to 'win32/dsoundout.h')
-rw-r--r-- | win32/dsoundout.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 |