Also flush buffers of the inner delivery of inserts
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Thu, 14 Jul 2016 23:51:55 +0000 (01:51 +0200)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 15 Jul 2016 01:55:49 +0000 (21:55 -0400)
commit9ba6e938d8f7d61bc747ed5e9a102638bb1a8eb1
tree28e156038e560d286b26cb7840177d27452a8fc9
parent8af589b322408aba38413dc2c85dc77ae1c9f2e4
Also flush buffers of the inner delivery of inserts

When flushing the buffers of Delivery processors owned by a Route/Track,
inner deliveries of PortInsert processors were missed since PortInsert
is not a Delivery subclass, but rather owns a Delivery as a private
member. Expose a flush_buffers() for PortInsert and call it too.

This is correct since (external) Send is a Delivery subclass, so that
just makes the send part of inserts behave as external sends do.
libs/ardour/ardour/port_insert.h
libs/ardour/route.cc