1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 09:31:14 +01:00

Comments about CloseLock() functions

This commit is contained in:
Paul Licameli
2016-04-11 23:38:33 -04:00
parent cfaf3564a2
commit f7780adbf5
6 changed files with 16 additions and 6 deletions

View File

@@ -286,9 +286,11 @@ class AUDACITY_DLL_API WaveTrack final : public Track {
//
bool Lock();
bool CloseLock(); //similar to Lock but should be called when the project closes.
bool Unlock();
bool CloseLock(); //similar to Lock but should be called when the project closes.
// not balanced by unlocking calls.
/** @brief Convert correctly between an (absolute) time in seconds and a number of samples.
*
* This method will not give the correct results if used on a relative time (difference of two