| 171 | } |
| 172 | |
| 173 | void HRTFDatabaseLoader::loadAsynchronously() |
| 174 | { |
| 175 | std::lock_guard<std::mutex> lock(m_threadLock); |
| 176 | |
| 177 | if (!m_hrtfDatabase.get() && !m_loading) |
| 178 | { |
| 179 | m_databaseLoaderThread = std::thread(databaseLoaderEntry, this); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | bool HRTFDatabaseLoader::isLoaded() const |
| 184 | { |
no test coverage detected