SMF: clear running status at track start and after meta events.

This commit is contained in:
Jonathan Moore Liles 2008-04-10 19:47:42 -05:00
parent 4f186d9acb
commit 8ae4e4f40c
1 changed files with 4 additions and 0 deletions

4
smf.C
View File

@ -346,6 +346,9 @@ smf::open_track ( const char *name, int num )
write_meta_event ( smf::NAME, name );
++_tracks;
_status = 0;
// FIXME: write time signature here
}
@ -392,6 +395,7 @@ smf::write_meta_event ( byte_t type, int n )
// FIXME: handle time sig, key sig, proprietary
}
_status = 0;
}
void