fix audio saving being totally wrong

This commit is contained in:
tildearrow 2022-06-28 22:08:24 -05:00
parent be933b2d2c
commit 8c8ad7f5ab
2 changed files with 13 additions and 2 deletions

View file

@ -35,6 +35,7 @@ class SFWrapper {
size_t len;
SF_VIRTUAL_IO vio;
SNDFILE* sf;
int fileMode;
public:
sf_count_t ioGetSize();
@ -48,7 +49,8 @@ class SFWrapper {
SFWrapper():
f(NULL),
len(0),
sf(NULL) {}
sf(NULL),
fileMode(0) {}
};
#endif