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

Paul Davis paul at linuxaudiosystems.com
Wed Oct 10 06:04:54 PDT 2007


On Wed, 2007-10-10 at 12:26 +0100, Carl Hetherington wrote:
> 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?

looks smart to me, and i like the signal name change





More information about the Ardour-Dev mailing list