Comments.

git-svn-id: svn://localhost/ardour2/branches/3.0@7873 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-10-05 00:20:37 +00:00
parent ef62a039b9
commit 15eae738d0
2 changed files with 3 additions and 1 deletions

View File

@ -110,6 +110,7 @@ class Diskstream : public SessionObject, public PublicDiskstream
virtual int use_new_playlist () = 0;
virtual int use_copy_playlist () = 0;
/** @return Capture start position in session frames */
framepos_t current_capture_start() const { return capture_start_frame; }
framepos_t current_capture_end() const { return capture_start_frame + capture_captured; }
framepos_t get_capture_start_frame (uint32_t n=0);
@ -260,7 +261,7 @@ class Diskstream : public SessionObject, public PublicDiskstream
bool _seek_required;
bool force_refill;
framepos_t capture_start_frame;
framepos_t capture_start_frame; ///< session frames
framecnt_t capture_captured;
bool was_recording;
nframes_t adjust_capture_position;

View File

@ -631,6 +631,7 @@ SndFileSource::clear_capture_marks ()
_capture_end = false;
}
/** @param pos Capture start position in session frames */
void
SndFileSource::mark_capture_start (framepos_t pos)
{