summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/TypedPort.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-19 06:17:49 +0000
committerDavid Robillard <d@drobilla.net>2006-06-19 06:17:49 +0000
commit2db1897709eba0e80677bd09e8444e7320e15120 (patch)
tree8062b5ede632c1c084a2c3b43bbd1a3d9991734e /src/libs/engine/TypedPort.h
parent4adc4f4a2b4f57f43affcd48f2c01c60f471b20a (diff)
downloadingen-2db1897709eba0e80677bd09e8444e7320e15120.tar.gz
ingen-2db1897709eba0e80677bd09e8444e7320e15120.tar.bz2
ingen-2db1897709eba0e80677bd09e8444e7320e15120.zip
Connecting of patch ports internally (seemingly anyway, data not flowing yet)
git-svn-id: http://svn.drobilla.net/lad/grauph@61 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/TypedPort.h')
-rw-r--r--src/libs/engine/TypedPort.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/TypedPort.h b/src/libs/engine/TypedPort.h
index e2ccaff4..332741a6 100644
--- a/src/libs/engine/TypedPort.h
+++ b/src/libs/engine/TypedPort.h
@@ -14,8 +14,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef PORTBASE_H
-#define PORTBASE_H
+#ifndef TYPEDPORT_H
+#define TYPEDPORT_H
#include <string>
#include "types.h"
@@ -52,8 +52,8 @@ public:
virtual void prepare_buffers(size_t nframes);
virtual void clear_buffers();
- TypedPort* tied_port() const { return m_tied_port; }
- void untie() { m_is_tied = false; m_tied_port = NULL; }
+ //TypedPort* tied_port() const { return m_tied_port; }
+ //void untie() { m_is_tied = false; m_tied_port = NULL; }
/** Used by drivers to prevent port from changing buffers */
void fixed_buffers(bool b) { m_fixed_buffers = b; }
@@ -68,9 +68,9 @@ protected:
void allocate_buffers();
- bool m_fixed_buffers;
- bool m_is_tied;
- TypedPort* m_tied_port;
+ bool m_fixed_buffers;
+ //bool m_is_tied;
+ //TypedPort* m_tied_port;
Array<Buffer<T>*> m_buffers;
};
@@ -81,4 +81,4 @@ template class TypedPort<MidiMessage>;
} // namespace Om
-#endif // PORTBASE_H
+#endif // TYPEDPORT_H