summaryrefslogtreecommitdiffstats
path: root/src/PatchageFlowCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageFlowCanvas.h')
-rw-r--r--src/PatchageFlowCanvas.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/PatchageFlowCanvas.h b/src/PatchageFlowCanvas.h
index a99d658..6af51f7 100644
--- a/src/PatchageFlowCanvas.h
+++ b/src/PatchageFlowCanvas.h
@@ -18,9 +18,14 @@
#define PATCHAGEPATCHBAYAREA_H
#include <string>
+#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
+#endif
#include <flowcanvas/FlowCanvas.h>
#include "StateManager.h"
+
+
+
class Patchage;
class PatchageModule;
class PatchagePort;
@@ -34,8 +39,9 @@ public:
PatchageFlowCanvas(Patchage* m_app, int width, int height);
boost::shared_ptr<PatchageModule> find_module(const string& name, ModuleType type);
+#ifdef HAVE_ALSA
boost::shared_ptr<PatchagePort> find_port(const snd_seq_addr_t* alsa_addr);
-
+#endif
void connect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2);
void disconnect(boost::shared_ptr<Port> port1, boost::shared_ptr<Port> port2);