X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedits.h;h=c0f2cdf0bbfd753c4167f7d9c2a6b70cd84eefe4;hb=b402ed7f93de4c98e6651483eb8561cf1c37ec9a;hp=cd1c61e73e66d835f216afa940648f06b7fcdfa3;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/edits.h b/cinelerra-5.1/cinelerra/edits.h index cd1c61e7..c0f2cdf0 100644 --- a/cinelerra-5.1/cinelerra/edits.h +++ b/cinelerra-5.1/cinelerra/edits.h @@ -56,9 +56,8 @@ public: int64_t sample, int track_number); // Split edit containing position. - Edit* split_edit(int64_t position); // Return the second edit in the split. - Edit* split_edit(Edit *edit, int64_t position); + Edit* split_edit(int64_t position); // Create a blank edit in the native data format int clear_handle(double start, double end, @@ -112,6 +111,8 @@ public: Edit* get_playable_edit(int64_t position, int use_nudge); // int64_t total_length(); int64_t length(); // end position of last edit +// audio edit shorter than .5 frames is a glitch + int is_glitch(Edit *edit); // ==================================== editing