[Ardour-Dev] 2.8.x export code question

John Rigg ardev3 at jrigg.co.uk
Thu Sep 6 23:52:29 PDT 2012


On Thu, Sep 06, 2012 at 05:11:50PM -0400, Paul Davis wrote:
> On Thu, Sep 6, 2012 at 2:11 PM, John Rigg <ardev3 at jrigg.co.uk> wrote:
> 
> >
> > Probably a stupid question, but why total_frames = end_frame - start_frame
> > and not total_frames = end_frame - start_frame + 1  ?
> > Does the exported region not include both the start_frame and
> > end_frame?
> >
> 
> this stuff is always tricky, but in general (and i do mean in general),
> "end_frame" values in ardour tend to indicate "the sample immediately after
> the last one to be included" or "if you get to end_frame, stop because you
> are done".  they are typically computed from start_frame plus a count.

Makes sense. Thanks.

John



More information about the Ardour-Dev mailing list