| 181 | } |
| 182 | |
| 183 | void Soloud::deinit() |
| 184 | { |
| 185 | SOLOUD_ASSERT(!mInsideAudioThreadMutex); |
| 186 | if (mBackendCleanupFunc) |
| 187 | mBackendCleanupFunc(this); |
| 188 | mBackendCleanupFunc = 0; |
| 189 | if (mAudioThreadMutex) |
| 190 | Thread::destroyMutex(mAudioThreadMutex); |
| 191 | mAudioThreadMutex = NULL; |
| 192 | } |
| 193 | |
| 194 | result Soloud::init(unsigned int aFlags, unsigned int aBackend, unsigned int aSamplerate, unsigned int aBufferSize, unsigned int aChannels) |
| 195 | { |
no test coverage detected