SMF: clear running status at track start and after meta events.
This commit is contained in:
parent
4f186d9acb
commit
8ae4e4f40c
4
smf.C
4
smf.C
|
@ -346,6 +346,9 @@ smf::open_track ( const char *name, int num )
|
||||||
write_meta_event ( smf::NAME, name );
|
write_meta_event ( smf::NAME, name );
|
||||||
|
|
||||||
++_tracks;
|
++_tracks;
|
||||||
|
|
||||||
|
_status = 0;
|
||||||
|
|
||||||
// FIXME: write time signature here
|
// 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
|
// FIXME: handle time sig, key sig, proprietary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue