summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/public_diskstream.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-17 16:24:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-17 16:24:22 +0000
commit10bdce85a0e7381d1b5db38e3640600c6fd3ec79 (patch)
tree5e6fd6a2e69e972ada31018cbe6761e5ec5c77a7 /libs/ardour/ardour/public_diskstream.h
parente84c3fe5552bc5cf2ed23812c41e7e3b19fbdb84 (diff)
megaopus commit: (1) add __STD_(LIMIT|FORMAT)_MACROS to command line flags for cc and c++ builds, remove them from source (2) add new Property::midi_data used by MidiRegion to signal that its (MIDI) contents have changed (3) massive switch from nframes_t to framepos_t/framecnt_t including removal of ARDOUR::max_frames (replaced by ARDOUR::max_frame{pos,cnt} (lots more to do but this set was driven by changes to the Diskstream API to use framepos_t
git-svn-id: svn://localhost/ardour2/branches/3.0@7791 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/public_diskstream.h')
-rwxr-xr-xlibs/ardour/ardour/public_diskstream.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/ardour/ardour/public_diskstream.h b/libs/ardour/ardour/public_diskstream.h
index e0cf9ef7fa..de6b3dcb55 100755
--- a/libs/ardour/ardour/public_diskstream.h
+++ b/libs/ardour/ardour/public_diskstream.h
@@ -46,17 +46,17 @@ public:
virtual uint32_t read_data_count() const = 0;
virtual uint32_t write_data_count() const = 0;
virtual void set_pending_overwrite (bool) = 0;
- virtual int seek (nframes_t, bool complete_refill = false) = 0;
+ virtual int seek (framepos_t, bool complete_refill = false) = 0;
virtual bool hidden () const = 0;
- virtual int can_internal_playback_seek (nframes_t) = 0;
- virtual int internal_playback_seek (nframes_t) = 0;
+ virtual int can_internal_playback_seek (framepos_t) = 0;
+ virtual int internal_playback_seek (framepos_t) = 0;
virtual void non_realtime_input_change () = 0;
- virtual void non_realtime_locate (nframes_t) = 0;
+ virtual void non_realtime_locate (framepos_t) = 0;
virtual void non_realtime_set_speed () = 0;
virtual int overwrite_existing_buffers () = 0;
- virtual nframes_t get_captured_frames (uint32_t n = 0) = 0;
+ virtual framecnt_t get_captured_frames (uint32_t n = 0) = 0;
virtual int set_loop (Location *) = 0;
- virtual void transport_looped (nframes_t) = 0;
+ virtual void transport_looped (framepos_t) = 0;
virtual bool realtime_set_speed (double, bool) = 0;
virtual void transport_stopped_wallclock (struct tm &, time_t, bool) = 0;
virtual bool pending_overwrite () const = 0;
@@ -64,10 +64,10 @@ public:
virtual void prepare_to_stop (framepos_t) = 0;
virtual void set_slaved (bool) = 0;
virtual ChanCount n_channels () = 0;
- virtual nframes_t get_capture_start_frame (uint32_t n = 0) = 0;
+ virtual framepos_t get_capture_start_frame (uint32_t n = 0) = 0;
virtual AlignStyle alignment_style () const = 0;
- virtual nframes_t current_capture_start () const = 0;
- virtual nframes_t current_capture_end () const = 0;
+ virtual framepos_t current_capture_start () const = 0;
+ virtual framepos_t current_capture_end () const = 0;
virtual void playlist_modified () = 0;
virtual int use_playlist (boost::shared_ptr<Playlist>) = 0;
virtual void set_align_style (AlignStyle) = 0;