mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 23:15:36 +01:00
Remove Envelope::GetValueAtX
This commit is contained in:
@@ -1026,14 +1026,6 @@ double Envelope::GetValue(double t) const
|
||||
return temp;
|
||||
}
|
||||
|
||||
// 'X' is in pixels and relative to track.
|
||||
double Envelope::GetValueAtX(int x, const wxRect & r, double h, double pps)
|
||||
{
|
||||
// Convert x to time.
|
||||
double t = (x - r.x) / pps + h ;//-mOffset;
|
||||
return GetValue(t);
|
||||
}
|
||||
|
||||
/// @param Lo returns last index at or before this time.
|
||||
/// @param Hi returns first index after this time.
|
||||
void Envelope::BinarySearchForTime( int &Lo, int &Hi, double t ) const
|
||||
|
||||
Reference in New Issue
Block a user