diff --git a/ChangeLog b/ChangeLog index 78d5d47af0..aea66154c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,16 @@ 2008-05-27 Paul Giblock * plugins/sf2_player/sf2_player.cpp: - Restore gain setting when loading a project and keep gain setting when + restore gain setting when loading a project and keep gain setting when changing sample rate * include/controller_view.h: * src/gui/widgets/controller_view.cpp: reverted toby's controllerView changes. + * src/core/mmp.cpp: + add compat-code for time-signature support + 2008-05-25 Tobias Doerffel * include/controller_view.h: diff --git a/src/core/mmp.cpp b/src/core/mmp.cpp index e0a91a7ba0..88808ad55d 100644 --- a/src/core/mmp.cpp +++ b/src/core/mmp.cpp @@ -631,6 +631,13 @@ void multimediaProject::upgrade( void ) } + // Time-signature + if ( !m_head.hasAttribute( "timesig_numerator" ) ) + { + m_head.setAttribute( "timesig_numerator", 4 ); + m_head.setAttribute( "timesig_denominator", 4 ); + } + if( !m_head.hasAttribute( "mastervol" ) ) { m_head.setAttribute( "mastervol", 100 );