/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
int auto_exists_for_editing(double position);
// Returns auto at exact position, null if non-existent. ignores autokeyframming and align on frames
Auto* get_auto_at_position(double position = -1);
+ Auto* get_auto(int id);
-// Get keyframe for editing with automatic creation if enabled
- Auto* get_auto_for_editing(double position = -1);
+// Get keyframe for editing with creation
+// create: <0: always new keyframe, =0: no new keyframe, >0: auto keyframe
+ Auto* get_auto_for_editing(double position=-1, int create=1);
// Insert keyframe at the point if it doesn't exist
// Interpolate its value if possible
- int clear_all();
+ void clear_all();
int insert(int64_t start, int64_t end);
int paste_silence(int64_t start, int64_t end);
// Copy for keyframe clipboard & drag & drop