mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-19 06:28:24 -04:00
compat-code for time-signature support in older projects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1030 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
2008-05-27 Paul Giblock <drfaygo/at/gmail/dot/com>
|
||||
|
||||
* 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 <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* include/controller_view.h:
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user