mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cc351b97a9
commit
402cc384ce
71 changed files with 881 additions and 1105 deletions
|
|
@ -646,7 +646,7 @@ PianoRollHeader::on_size_allocate(Gtk::Allocation& a)
|
|||
void
|
||||
PianoRollHeader::send_note_on(uint8_t note)
|
||||
{
|
||||
boost::shared_ptr<ARDOUR::MidiTrack> track = _view.trackview()->midi_track();
|
||||
boost::shared_ptr<ARDOUR::MidiTrack> track = _view.trackview().midi_track();
|
||||
|
||||
//cerr << "note on: " << (int) note << endl;
|
||||
|
||||
|
|
@ -662,7 +662,7 @@ PianoRollHeader::send_note_on(uint8_t note)
|
|||
void
|
||||
PianoRollHeader::send_note_off(uint8_t note)
|
||||
{
|
||||
boost::shared_ptr<ARDOUR::MidiTrack> track = _view.trackview()->midi_track();
|
||||
boost::shared_ptr<ARDOUR::MidiTrack> track = _view.trackview().midi_track();
|
||||
|
||||
if (track) {
|
||||
_event[0] = MIDI_CMD_NOTE_OFF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue