diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-12 01:04:15 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-12 01:04:15 +0900 |
commit | ab379f2bb081f3fe2ea77ed163f755f59a49e6cf (patch) | |
tree | b06142d1b4f765e23531abc50ad229494b241a04 /win32/wavewrite.h | |
parent | c6c96944ae1bb1d7363349ec21be9dca76ee9ec4 (diff) |
added wave output
Diffstat (limited to 'win32/wavewrite.h')
-rw-r--r-- | win32/wavewrite.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/win32/wavewrite.h b/win32/wavewrite.h new file mode 100644 index 0000000..58db0aa --- /dev/null +++ b/win32/wavewrite.h @@ -0,0 +1,15 @@ +#ifndef MYON_FMPLAYER_WIN32_WAVEWRITE_H_INCLUDED +#define MYON_FMPLAYER_WIN32_WAVEWRITE_H_INCLUDED + +#include <stdint.h> +#include <stddef.h> + +struct wavefile; + +struct wavefile *wavewrite_open_w(const wchar_t *path, uint32_t samplerate); + +size_t wavewrite_write(struct wavefile *wavefile, const int16_t *buf, size_t frames); + +void wavewrite_close(struct wavefile *wavefile); + +#endif // MYON_FMPLAYER_WIN32_WAVEWRITE_H_INCLUDED |