diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-11 17:08:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-11 17:08:34 +0000 |
commit | 3a27410dcbaaca10480ffc14770b41c11e9ca1da (patch) | |
tree | 0b017597b99f3279dc3981033382a4d3f18a2b14 /libs/ardour/audio_diskstream.cc | |
parent | 24fbade20a831fe629ed9bbc1d68a33ac1bd4d74 (diff) |
More tinkering with State<>. Use some StateDiffCommands instead of
MementoCommand<Region>. More use of State<> for Region members.
git-svn-id: svn://localhost/ardour2/branches/3.0@6675 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_diskstream.cc')
-rw-r--r-- | libs/ardour/audio_diskstream.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/audio_diskstream.cc b/libs/ardour/audio_diskstream.cc index db1a343d17..ef209fad3a 100644 --- a/libs/ardour/audio_diskstream.cc +++ b/libs/ardour/audio_diskstream.cc @@ -1433,7 +1433,7 @@ AudioDiskstream::transport_stopped (struct tm& when, time_t twhen, bool abort_ca if (s) { srcs.push_back (s); s->update_header (capture_info.front()->start, when, twhen); - s->set_captured_for (_name); + s->set_captured_for (_name.get()); s->mark_immutable (); if (Config->get_auto_analyse_audio()) { Analyser::queue_source_for_analysis (s, true); @@ -1970,7 +1970,7 @@ AudioDiskstream::rename_write_sources () for (chan = c->begin(), n = 0; chan != c->end(); ++chan, ++n) { if ((*chan)->write_source != 0) { - (*chan)->write_source->set_source_name (_name, destructive()); + (*chan)->write_source->set_source_name (_name.get(), destructive()); /* XXX what to do if one of them fails ? */ } } @@ -2178,7 +2178,7 @@ AudioDiskstream::use_pending_capture_data (XMLNode& node) first_fs = fs; } - fs->set_captured_for (_name); + fs->set_captured_for (_name.get()); } } |