mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-16 01:21:25 +01:00
More consistent mutual exclusion in calls to certain sf_ functions; ...
... also SFCall to simplify thread-safe calls, and SFFile for RAII of SNDFILE objects.
This commit is contained in:
@@ -51,17 +51,6 @@ int CompareNoCaseFileName(const wxString& first, const wxString& second)
|
||||
return first.CmpNoCase(second);
|
||||
}
|
||||
|
||||
void ODManager::LockLibSndFileMutex()
|
||||
{
|
||||
sLibSndFileMutex.Lock();
|
||||
}
|
||||
|
||||
void ODManager::UnlockLibSndFileMutex()
|
||||
{
|
||||
sLibSndFileMutex.Unlock();
|
||||
}
|
||||
|
||||
|
||||
//private constructor - Singleton.
|
||||
ODManager::ODManager()
|
||||
{
|
||||
|
||||
@@ -119,9 +119,6 @@ class ODManager final
|
||||
Pauser &operator= (const Pauser&) PROHIBITED;
|
||||
};
|
||||
|
||||
static void LockLibSndFileMutex();
|
||||
static void UnlockLibSndFileMutex();
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user