Clean up Audition realtime_overwrite
Auditioner seek calls are explicitly handled by the butler, and DR:overwrite_existing_buffers() is called explicitly to read MIDI data for audition. Session::non_realtime_overwrite is no longer required. This reverts commit6fbcf83779
and parts of2d11667ce3
.
This commit is contained in:
parent
24ed3c5a9e
commit
e15b5c6e6b
|
@ -1222,13 +1222,8 @@ Session::butler_transport_work ()
|
|||
void
|
||||
Session::non_realtime_overwrite (int on_entry, bool& finished)
|
||||
{
|
||||
RouteList rl (*(routes.reader ()));
|
||||
|
||||
if (is_auditioning ()) {
|
||||
rl.push_back (auditioner);
|
||||
}
|
||||
|
||||
for (RouteList::iterator i = rl.begin(); i != rl.end(); ++i) {
|
||||
boost::shared_ptr<RouteList> rl = routes.reader();
|
||||
for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
|
||||
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (*i);
|
||||
if (tr && tr->pending_overwrite ()) {
|
||||
tr->overwrite_existing_buffers ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user