- boost::shared_ptr<IO> io() { return _io; }
- boost::shared_ptr<const IO> io() const { return _io; }
-
- virtual void automation_snapshot (nframes_t now, bool force) { _io->automation_snapshot(now, force); }
+ bool set_name (const std::string& str);
+
+ virtual ChanCount natural_output_streams() const;
+ virtual ChanCount natural_input_streams () const;
+
+ boost::shared_ptr<IO> input() { return _input; }
+ boost::shared_ptr<const IO> input() const { return _input; }
+ boost::shared_ptr<IO> output() { return _output; }
+ boost::shared_ptr<const IO> output() const { return _output; }
+ void set_input (boost::shared_ptr<IO>);
+ void set_output (boost::shared_ptr<IO>);
+
+ void silence (framecnt_t nframes);
+ void disconnect ();
+
+ void increment_port_buffer_offset (pframes_t);