New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / architecture / audio / audio.h
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/architecture/audio/audio.h b/interpretor/preprocessor/faust-0.9.47mr3/architecture/audio/audio.h
new file mode 100644 (file)
index 0000000..18d794d
--- /dev/null
@@ -0,0 +1,24 @@
+
+/******************************************************************************
+*******************************************************************************
+
+                                               An abstraction layer over audio layer
+
+*******************************************************************************
+*******************************************************************************/
+
+#ifndef __audio__
+#define __audio__
+                       
+class dsp;
+class audio {
+ public:
+                        audio() {}
+       virtual ~audio() {}
+       
+       virtual bool init(const char* name, dsp*)       = 0;
+       virtual bool start()                                            = 0;
+       virtual void stop()                                                     = 0;
+};
+                                       
+#endif