aboutsummaryrefslogtreecommitdiff
path: root/win32/wavewrite.h
blob: 58db0aafc462b99463fc9ae9b7388ac99a550666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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