Fix recording MIDI
authorRobin Gareus <robin@gareus.org>
Sun, 1 Oct 2017 01:03:44 +0000 (03:03 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 1 Oct 2017 01:03:44 +0000 (03:03 +0200)
commit05ab7a46b5cf4482ca999625da7405d47fd700a6
treee5caae0434d5fa192ae6593bce112a89679d2d6e
parent0431ed3d3e1d91a19f9ce382a5531f71449b2d0c
Fix recording MIDI

- Fix API call to add region(midi_region) -- set count to "1"
- Forward DataRecorded() signal
- remove botched merge/rebase"
  a4a87f56 accidentally brought back code from old-destructive API
  which was removed in af103cf3 and 08c13007
  There is no per track NonLayered record mode anymore, it's session global.
- set can_record correctly to not accidentally clear last capture sources
  for cont'd recording (toggle track's rec-arm)
libs/ardour/ardour/disk_io.h
libs/ardour/ardour/disk_writer.h
libs/ardour/ardour/midi_track.h
libs/ardour/audio_track.cc
libs/ardour/disk_writer.cc
libs/ardour/midi_track.cc
libs/ardour/track.cc