[ardour-dev] weekly 1.0 progress report

Paul Davis paul at linuxaudiosystems.com
Mon Nov 29 06:19:44 PST 2004

>Have you had a look at #758? I can't be the only person seeing this. I
>think I've identified the problem, but lack the overall understanding of
>the relationship between Session, AudioRegion, Playlist etc to fix it
>myself, although I will give it another shot during the week.

your analysis "should" be incorrect. the regions pointed to by the
region list are not present in any playlist (they are copied by the
session before being pointed to).

>Have you though about using something like Boost's shared_ptr to avoid 
>this entire class of problem entirely?

1) using any part of boost generally requires using all of boost
2) this was designed not to be a shared_ptr-using system for reasons
      indepedent of lifetime issues. the whole question of what 
      actually happens when you edit a region makes it necessary
      to make the region list objects be 100% distinct from those
      found in playlists.


More information about the Ardour-Dev mailing list