Verify Freeze/Export/Bounce polarity invert buffers
authorRobin Gareus <robin@gareus.org>
Sun, 7 Apr 2019 17:30:23 +0000 (19:30 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 7 Apr 2019 17:51:49 +0000 (19:51 +0200)
commit7450d691890a198638d7c70fa8e999f5926a44de
treebcc2048bd1e0417e8d709ff44e39ab86aad35b4b
parent1557ea531444b3f7385ed0250ff79b51e8d93a23
Verify Freeze/Export/Bounce polarity invert buffers

When using bounce w/process, the initial bufferset can [wrongly] be
  buffers.set_count (track.max_processor_streams())
Since the polarity-processor is first in the chain, iterations
over all buffer that don't have a matching _current_gain[]
or _control[] leads to memory-corruption or segfault.
libs/ardour/polarity_processor.cc