aboutsummaryrefslogtreecommitdiff
path: root/win32/waveout.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-01-07 13:39:17 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-01-07 13:39:17 +0900
commit09ea1fe272aca6ebb6840f02765acd44ac3ecebc (patch)
tree9221a90ae3b6d35394554d5ecae1a1c14cda4ca6 /win32/waveout.h
parente8e394a10937bec18106d2f8c1c0a045c62f458f (diff)
win32
Diffstat (limited to 'win32/waveout.h')
-rw-r--r--win32/waveout.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/win32/waveout.h b/win32/waveout.h
new file mode 100644
index 0000000..ff33b01
--- /dev/null
+++ b/win32/waveout.h
@@ -0,0 +1,13 @@
+#ifndef MYON_WAVEOUT_H_INCLUDED
+#define MYON_WAVEOUT_H_INCLUDED
+
+#include "soundout.h"
+
+struct waveout_state;
+
+struct waveout_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