mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Simplify iterations over WaveClips outside of WaveTrack/WaveClip; ...
... also add some const qualifiers
This commit is contained in:
committed by
Paul Licameli
parent
cb7872f980
commit
b548e641ae
@@ -333,9 +333,9 @@ class AUDACITY_DLL_API WaveTrack final : public Track {
|
||||
*/
|
||||
double LongSamplesToTime(sampleCount pos) const;
|
||||
|
||||
// Get access to the clips in the tracks. This is used by
|
||||
// track artists and also by TrackPanel when sliding...it would
|
||||
// be cleaner if this could be removed, though...
|
||||
// Get access to the clips in the tracks.
|
||||
const WaveClipList &GetClips() const { return mClips; }
|
||||
|
||||
WaveClipList::compatibility_iterator GetClipIterator() { return mClips.GetFirst(); }
|
||||
|
||||
// Create NEW clip and add it to this track. Returns a pointer
|
||||
|
||||
Reference in New Issue
Block a user