throw failed_constructor();
}
- XMLNodeList const & controllables = node.children ("Controllable");
+ XMLNodeList const & controllables = node.children (Controllable::xml_node_name);
for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) {
parse_controllable (**it);
}
return false;
}
- XMLNodeList const & controllables = io->children ("Controllable");
+ XMLNodeList const & controllables = io->children (Controllable::xml_node_name);
for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) {
parse_controllable (**it);
}
boost::shared_ptr<Diskstream> new_ds (new AudioDiskstream (session, *ds_node));
new_ds->set_name (name);
- session.add_diskstream (new_ds);
+ new_ds->do_refill_with_alloc ();
+ new_ds->set_block_size (session.get_block_size ());
/* Import playlists */
std::stringstream str (content_node->content());
std::ostringstream new_content;
- nframes_t x;
+ framecnt_t x;
double y;
bool ok = true;