[Ardour-Dev] 2.8.x export code question

Paul Davis paul at linuxaudiosystems.com
Thu Sep 6 14:11:50 PDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20120906/6e55e954/attachment-0001.htm>


More information about the Ardour-Dev mailing list