}
XMLNode&
-IOProcessor::state (bool full_state)
+IOProcessor::state ()
{
- XMLNode& node (Processor::state (full_state));
+ XMLNode& node (Processor::state ());
node.set_property ("own-input", _own_input);
if (_input) {
if (_own_input) {
- XMLNode& i (_input->state (full_state));
+ XMLNode& i (_input->get_state ());
// i.name() = X_("output");
node.add_child_nocopy (i);
} else {
if (_output) {
if (_own_output) {
- XMLNode& o (_output->state (full_state));
+ XMLNode& o (_output->get_state ());
node.add_child_nocopy (o);
} else {
node.set_property ("output", _output->name ());
std::string str;
if (_own_input && _input) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
- if ((*niter)->get_property ("name", str) && _name == str || ignore_name) {
+ if ((*niter)->get_property ("name", str) && (_name == str || ignore_name)) {
if ((*niter)->get_property ("direction", str) && str == instr) {
io_node = (*niter);
break;
if (_own_output && _output) {
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
if ((*niter)->name() == "IO") {
- if ((*niter)->get_property ("name", str) && _name == str || ignore_name) {
+ if ((*niter)->get_property ("name", str) && (_name == str || ignore_name)) {
if ((*niter)->get_property ("direction", str) && str == outstr) {
io_node = (*niter);
break;
}
void
-IOProcessor::silence (framecnt_t nframes, framepos_t /* start_frame */)
+IOProcessor::silence (samplecnt_t nframes, samplepos_t /* start_sample */)
{
if (_own_output && _output) {
_output->silence (nframes);
}
}
-void
-IOProcessor::increment_port_buffer_offset (pframes_t offset)
-{
- if (_own_output && _output) {
- _output->increment_port_buffer_offset (offset);
- }
-}
-
ChanCount
IOProcessor::natural_output_streams() const
{