[Ardour-Dev] Assertion failure in BaseStereoPanner::distribute()

Carl Hetherington lists at carlh.net
Wed Oct 10 04:26:24 PDT 2007


Hi all,

I find that, in trunk, the following sequence:

1. create a stereo buss.
2. add a port to it.
3. remove a port from it.

causes the assert (obufs.count().n_audio() == 2) in 
BaseStereoPanner::distribute() to trip.  The attached patch fixes it for 
me.  The main point of the patch is to ensure that 
BufferSet::attach_buffers() is called when ports are removed as well as 
when they are added.

Any comments as to whether the patch is sensible?

Thanks

Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panner.patch
Type: text/x-diff
Size: 6369 bytes
Desc: 
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20071010/b0b2b917/attachment.patch>


More information about the Ardour-Dev mailing list