mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
MIDI robustness.
- Separate SMF::open and SMF::create, more powerful interface for both. - Correctly handle note ons with velocity 0 as note offs in sequence. - Use SMF (i.e. libsmf) for MIDI import git-svn-id: svn://localhost/ardour2/branches/3.0@4558 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b0091c899b
commit
80e54c6ea0
11 changed files with 185 additions and 92 deletions
|
|
@ -65,7 +65,7 @@ SMFSource::SMFSource (Session& s, std::string path, Flag flags)
|
|||
throw failed_constructor ();
|
||||
}
|
||||
|
||||
if (open(path)) {
|
||||
if (create(path)) {
|
||||
throw failed_constructor ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue