| 118 | HRTFDatabaseLoader* HRTFDatabaseLoader::s_loader; |
| 119 | |
| 120 | HRTFDatabaseLoader* HRTFDatabaseLoader::MakeHRTFLoaderSingleton(float sampleRate, const std::string & searchPath) |
| 121 | { |
| 122 | if (!s_loader) |
| 123 | { |
| 124 | s_loader = new HRTFDatabaseLoader(sampleRate, searchPath); |
| 125 | s_loader->loadAsynchronously(); |
| 126 | } |
| 127 | return s_loader; |
| 128 | } |
| 129 | |
| 130 | HRTFDatabaseLoader::HRTFDatabaseLoader(float sampleRate, const std::string & searchPath) |
| 131 | : m_loading(false) |
nothing calls this directly
no test coverage detected