Generic MIDI control now saves+restores its state; PBD::ID now requires a buffer...
[ardour.git] / libs / ardour / audio_diskstream.cc
index efe4e89cd164bf48e4fd54c772a0d4351352d2c3..137458960807d41975955874eff456244b2bda07 100644 (file)
@@ -1759,7 +1759,7 @@ AudioDiskstream::get_state ()
        node->add_property ("speed", buf);
 
        node->add_property("name", _name);
-       id().print (buf);
+       id().print (buf, sizeof (buf));
        node->add_property("id", buf);
 
        if (!capturing_sources.empty() && _session.get_record_enabled()) {