diff options
author | David Robillard <d@drobilla.net> | 2006-08-24 07:37:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-24 07:37:17 +0000 |
commit | 25d1670a61d19e795227b939a98be9cf5a050c67 (patch) | |
tree | f288677bdbc2a2ff85763e59e5a9f801ca8f8489 /libs/ardour/ardour/track.h | |
parent | ea71de278461b2bc0240515b82bb56ef68f5eee3 (diff) |
Merged with trunk R846
Removed some overly verbose debug printing
git-svn-id: svn://localhost/ardour2/branches/midi@847 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/track.h')
-rw-r--r-- | libs/ardour/ardour/track.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index 2b317a0299..2e628fa586 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -19,6 +19,8 @@ #ifndef __ardour_track_h__ #define __ardour_track_h__ +#include <boost/shared_ptr.hpp> + #include <ardour/route.h> namespace ARDOUR { @@ -50,7 +52,7 @@ class Track : public Route bool can_record(); - Diskstream& diskstream() const { return *_diskstream; } + boost::shared_ptr<Diskstream> diskstream() const { return _diskstream; } virtual int use_diskstream (string name) = 0; virtual int use_diskstream (const PBD::ID& id) = 0; @@ -97,7 +99,7 @@ class Track : public Route virtual ChanCount n_process_buffers () = 0; - Diskstream *_diskstream; + boost::shared_ptr<Diskstream> _diskstream; MeterPoint _saved_meter_point; TrackMode _mode; |