You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
FIxed some big audio bugs, and finally got the audio reversing correctly working. Now, audio waves are reversed when a time map is moving backwards. There are still some pops and crackles, but I'll fix those later.
This commit is contained in:
@@ -266,6 +266,16 @@ Point& Keyframe::GetPoint(int index) throw(OutOfBoundsPoint) {
|
||||
throw OutOfBoundsPoint("Invalid point requested", index, Points.size());
|
||||
}
|
||||
|
||||
// Get the number of values (i.e. coordinates on the X axis)
|
||||
int Keyframe::GetLength() {
|
||||
// Check if it needs to be processed
|
||||
if (needs_update)
|
||||
Process();
|
||||
|
||||
// return the size of the Values vector
|
||||
return Values.size();
|
||||
}
|
||||
|
||||
// Remove a point by matching a coordinate
|
||||
void Keyframe::RemovePoint(Point p) throw(OutOfBoundsPoint) {
|
||||
// mark as dirty
|
||||
|
||||
Reference in New Issue
Block a user