mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstreams. Breaks 3.0 file format again.
git-svn-id: svn://localhost/ardour2/branches/3.0@6945 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d9cebc2edf
commit
061a85191c
65 changed files with 1239 additions and 944 deletions
|
|
@ -35,7 +35,6 @@ namespace Gdk {
|
|||
|
||||
namespace ARDOUR {
|
||||
class Route;
|
||||
class Diskstream;
|
||||
class Crossfade;
|
||||
class PeakData;
|
||||
class MidiRegion;
|
||||
|
|
@ -76,7 +75,7 @@ class MidiStreamView : public StreamView
|
|||
|
||||
void update_note_range(uint8_t note_num);
|
||||
|
||||
void redisplay_diskstream ();
|
||||
void redisplay_track ();
|
||||
|
||||
inline double contents_height() const
|
||||
{ return (_trackview.current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); }
|
||||
|
|
@ -119,7 +118,7 @@ class MidiStreamView : public StreamView
|
|||
bool recording = false);
|
||||
|
||||
void display_region(MidiRegionView* region_view, bool load_model);
|
||||
void display_diskstream (boost::shared_ptr<ARDOUR::Diskstream> ds);
|
||||
void display_track (boost::shared_ptr<ARDOUR::Track> tr);
|
||||
|
||||
void update_contents_height ();
|
||||
void draw_note_lines();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue