1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-05 00:00:21 +01:00

Bug 377 (P2) - fix case where the R channel of a stereo clip wouldn't be dragged if it was off-screen and sync-lock was off

This commit is contained in:
mchinen
2011-04-25 18:10:32 +00:00
parent d42f014b6d
commit 9321b1634e
5 changed files with 46 additions and 4 deletions

View File

@@ -152,6 +152,9 @@ public:
void ClearDisplayRect();
void SetDisplayRect(const wxRect& r);
void GetDisplayRect(wxRect* r);
/// Get the absolute sample number at the x pixel specified by xcoord.
/// Only works if the clip is onscreen (returned by WaveTrack::GetClipAtX)
sampleCount GetSampleNumberAtX(int xcoord);
/** Whenever you do an operation to the sequence that will change the number
* of samples (that is, the length of the clip), you will want to call this