GUI use updated XML::read_buffer API
This commit is contained in:
@@ -91,7 +91,7 @@ static int export_session (Session *session,
|
||||
|
||||
XMLTree tree;
|
||||
|
||||
tree.read_buffer(std::string(
|
||||
tree.read_buffer(std::string (
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
|
||||
"<ExportFormatSpecification name=\"UTIL-WAV-EXPORT\" id=\"b1280899-0459-4aef-9dc9-7e2277fa6d24\">"
|
||||
" <Encoding id=\"F_WAV\" type=\"T_Sndfile\" extension=\"wav\" name=\"WAV\" has-sample-format=\"true\" channel-limit=\"256\"/>"
|
||||
@@ -122,7 +122,7 @@ static int export_session (Session *session,
|
||||
" </Silence>"
|
||||
" </Processing>"
|
||||
"</ExportFormatSpecification>"
|
||||
));
|
||||
).c_str());
|
||||
|
||||
boost::shared_ptr<ExportFormatSpecification> fmp = session->get_export_handler()->add_format(*tree.root());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user