diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-17 16:49:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-17 16:49:31 +0000 |
commit | 239ec39da6583e6e00cd03fa3bde8f1e27016b4d (patch) | |
tree | 8e46988053361eefbbcaa0291f5d0540cd0ab9c7 /libs/ardour/ardour/audioengine.h | |
parent | df28e90c673b209b946463efa02f35c5a0f6bed5 (diff) |
new internal port type, round I, plus tiny fix for legalize_for_xml() (also for 2.0-ongoing)
git-svn-id: svn://localhost/ardour2/trunk@2559 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audioengine.h')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index 17ba9f9614..34f7eb8c22 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -42,6 +42,7 @@ namespace ARDOUR { class Session; class Port; +class InternalPort; class AudioEngine : public sigc::trackable { @@ -113,8 +114,8 @@ class AudioEngine : public sigc::trackable virtual const char *what() const throw() { return "could not connect to engine backend"; } }; - Port *register_input_port (DataType type, const std::string& portname); - Port *register_output_port (DataType type, const std::string& portname); + Port *register_input_port (PortType, DataType, const std::string& portname); + Port *register_output_port (PortType, DataType, const std::string& portname); int unregister_port (Port &); int connect (const std::string& source, const std::string& destination); @@ -219,11 +220,13 @@ class AudioEngine : public sigc::trackable SerializedRCUManager<Ports> ports; - Port *register_port (DataType type, const std::string& portname, bool input); + Port *register_port (PortType ptype, DataType type, const std::string& portname, bool input); int process_callback (nframes_t nframes); void remove_all_ports (); + InternalPort* get_internal_port (const std::string& short_name); + typedef std::pair<std::string,std::string> PortConnection; typedef std::list<PortConnection> PortConnections; |