summaryrefslogtreecommitdiffstats
path: root/include/xas/synth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xas/synth.h')
-rw-r--r--include/xas/synth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xas/synth.h b/include/xas/synth.h
index 53f3343..61f50bc 100644
--- a/include/xas/synth.h
+++ b/include/xas/synth.h
@@ -4,6 +4,7 @@
#include <stdint.h>
#include <sys/types.h>
+#include <xas/object.h>
#include <xas/audio.h>
#define XAS_SYNTH_DEFAULT_FREQUENCY 2600 /* Hz */
@@ -25,6 +26,8 @@ typedef struct _xas_synth xas_synth;
typedef int16_t (*xas_synth_sample_callback)(xas_synth *synth);
struct _xas_synth {
+ xas_object obj;
+
enum xas_synth_type type;
enum xas_synth_state state;