move more wavetable loading logic

now it's safer
This commit is contained in:
tildearrow 2022-01-21 18:17:05 -05:00
parent 186e491c59
commit 724b1cd1a8
6 changed files with 41 additions and 19 deletions

8
src/engine/dataErrors.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef _DATA_ERRORS_H
#define _DATA_ERRORS_H
enum DivDataErrors {
DIV_DATA_SUCCESS=0,
DIV_DATA_INVALID_HEADER=1,
DIV_DATA_INVALID_DATA=2
};
#endif