mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 15:37:48 +01:00
fix crasher caused by regions not being deleted on session unload; fix up srctar scons target for new sigc++
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3529 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a9ac0d4dab
commit
d8fe491489
3 changed files with 11 additions and 1 deletions
|
|
@ -1481,6 +1481,15 @@ AudioRegion::speed_mismatch (float sr) const
|
|||
void
|
||||
AudioRegion::source_offset_changed ()
|
||||
{
|
||||
/* XXX this fixes a crash that should not occur. It does occur
|
||||
becauses regions are not being deleted when a session
|
||||
is unloaded. That bug must be fixed.
|
||||
*/
|
||||
|
||||
if (sources.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource>(sources.front());
|
||||
|
||||
if (afs && afs->destructive()) {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ar
|
|||
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
||||
[ 'NEWS', 'README', 'AUTHORS', 'ChangeLog',
|
||||
'configure', 'configure.ac', 'Makefile.am', 'SConscript',
|
||||
'config.sub', 'config.guess',
|
||||
'sigc++/Makefile.in',
|
||||
'sigc++config.h',
|
||||
'sigc++config.h.in',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __ardour_svn_revision_h__
|
||||
#define __ardour_svn_revision_h__
|
||||
static const char* ardour_svn_revision = "3343";
|
||||
static const char* ardour_svn_revision = "3527";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue