diff options
author | David Robillard <d@drobilla.net> | 2006-11-11 01:00:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-11-11 01:00:47 +0000 |
commit | 9ed6efc808cb57555f89f08475df70fd4f8b630b (patch) | |
tree | 5486ef7e97a6978f985b433e1966f76a03501845 /src/PatchageFlowCanvas.h | |
parent | 5b83af28b6eeb52a285618cd90f30a5461189efd (diff) | |
download | patchage-9ed6efc808cb57555f89f08475df70fd4f8b630b.tar.gz patchage-9ed6efc808cb57555f89f08475df70fd4f8b630b.tar.bz2 patchage-9ed6efc808cb57555f89f08475df70fd4f8b630b.zip |
Fixes for building without ALSA (eg on OSX)
git-svn-id: http://svn.drobilla.net/lad/patchage@200 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageFlowCanvas.h')
-rw-r--r-- | src/PatchageFlowCanvas.h | 8 |
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); |