Improved triplet support in piano roll

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1505 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-08-27 09:01:03 +00:00
parent c9bd266479
commit 48c8bce9c6
8 changed files with 68 additions and 12 deletions

View File

@@ -40,7 +40,8 @@
#define makeID(_c0, _c1, _c2, _c3) \
( ( _c0 ) | ( ( _c1 ) << 8 ) | ( ( _c2 ) << 16 ) | ( ( _c3 ) << 24 ) )
( 0 | \
( ( _c0 ) | ( ( _c1 ) << 8 ) | ( ( _c2 ) << 16 ) | ( ( _c3 ) << 24 ) ) )
@@ -90,9 +91,11 @@ bool midiImport::tryImport( trackContainer * _tc )
switch( readID() )
{
case makeID( 'M', 'T', 'h', 'd' ):
printf( "midiImport::tryImport(): found MThd\n");
return( readSMF( _tc ) );
case makeID( 'R', 'I', 'F', 'F' ):
printf( "midiImport::tryImport(): found RIFF\n");
return( readRIFF( _tc ) );
default: