mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Merged with trunk R846
Removed some overly verbose debug printing git-svn-id: svn://localhost/ardour2/branches/midi@847 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ea71de2784
commit
25d1670a61
86 changed files with 1414 additions and 999 deletions
|
|
@ -163,7 +163,8 @@ MidiStreamView::setup_rec_box ()
|
|||
|
||||
MidiRegion::SourceList sources;
|
||||
|
||||
MidiDiskstream* mds = dynamic_cast<MidiDiskstream*>(_trackview.get_diskstream());
|
||||
// FIXME
|
||||
boost::shared_ptr<MidiDiskstream> mds = boost::dynamic_pointer_cast<MidiDiskstream>(_trackview.get_diskstream());
|
||||
assert(mds);
|
||||
|
||||
sources.push_back((Source*)mds->write_source());
|
||||
|
|
@ -189,8 +190,8 @@ MidiStreamView::setup_rec_box ()
|
|||
/* start a new rec box */
|
||||
|
||||
MidiTrack* mt = _trackview.midi_track(); /* we know what it is already */
|
||||
MidiDiskstream& ds = mt->midi_diskstream();
|
||||
jack_nframes_t frame_pos = ds.current_capture_start ();
|
||||
boost::shared_ptr<MidiDiskstream> ds = mt->midi_diskstream();
|
||||
jack_nframes_t frame_pos = ds->current_capture_start ();
|
||||
gdouble xstart = _trackview.editor.frame_to_pixel (frame_pos);
|
||||
gdouble xend;
|
||||
uint32_t fill_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue