diff options
Diffstat (limited to 'libopna/opnassg.h')
-rw-r--r-- | libopna/opnassg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopna/opnassg.h b/libopna/opnassg.h index 6b1d0cd..a0a50be 100644 --- a/libopna/opnassg.h +++ b/libopna/opnassg.h @@ -4,7 +4,9 @@ #include <stdint.h> #include <stdbool.h> #include <string.h> +#ifdef LIBOPNA_ENABLE_LEVELDATA #include "leveldata/leveldata.h" +#endif #ifdef __cplusplus extern "C" { @@ -39,7 +41,9 @@ struct opna_ssg { struct opna_ssg_resampler { int16_t buf[OPNA_SSG_SINCTABLELEN*4 * 2]; unsigned index; +#ifdef LIBOPNA_ENABLE_LEVELDATA struct leveldata leveldata[3]; +#endif }; void opna_ssg_reset(struct opna_ssg *ssg); |