From f774afc5387887f4ce8067502412f5f64899632f Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 23 Nov 2017 13:51:14 +0900 Subject: libopna: make levelmeter and oscillo conditional --- libopna/opnassg.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libopna/opnassg.h') 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 #include #include +#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); -- cgit v1.2.3