X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftrack.h;h=9c12af1fff1fc31537f2cf558bc1ab140acae321;hb=6ad20126d5f82618e5dd4dd2d14b0682a5529d17;hp=4f81719c2c10f4c486bc16bbeeeabe8685496bee;hpb=48a6854a1ca58aa291ffc6fe3a48807492dfbef7;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/track.h b/cinelerra-5.1/cinelerra/track.h index 4f81719c..9c12af1f 100644 --- a/cinelerra-5.1/cinelerra/track.h +++ b/cinelerra-5.1/cinelerra/track.h @@ -91,6 +91,8 @@ public: // Speed curve in use int has_speed(); +// length when speed is applied + int64_t speed_length(int64_t start, int64_t end); // Get length of track in seconds double get_length(); // Get dimensions of source for convenience functions @@ -141,7 +143,8 @@ public: // detach shared effects referencing module void detach_shared_effects(int module); - +// detach all corresponding effects in gang + void detach_ganged_effects(Plugin *plugin); // Called by playable tracks to test for playable server. // Descends the plugin tree without creating a virtual console. @@ -168,6 +171,7 @@ public: Plugin *plugin_exists(int plugin_id); Track *gang_master(); int is_hidden(); + int in_gang(Track *track); int is_armed(); int is_ganged(); int armed_gang(Track *track); @@ -241,8 +245,8 @@ public: virtual int copy_automation_derived(AutoConf *auto_conf, double selectionstart, double selectionend, FileXML *file) { return 0; }; - int paste_automation(double selectionstart, double total_length, - double frame_rate, int64_t sample_rate, FileXML *file, + int paste_automation(FileXML *file, + double selectionstart, double src_length, double src_rate, int default_only, int active_only); virtual int paste_automation_derived(double selectionstart, double selectionend, double total_length, FileXML *file, int shift_autos, int ¤t_pan) { return 0; }; @@ -318,6 +322,7 @@ public: // If the edit under position is playable. // Used by PlayableTracks::is_playable. int playable_edit(int64_t position, int direction); + void create_keyframes(double position, int mask, int mode); // ===================================== for handles, titles, etc