| 62 | } |
| 63 | |
| 64 | void AudioThread::removeThread(AudioThread *other) { |
| 65 | |
| 66 | std::lock_guard<std::recursive_mutex> lock(m_mutex); |
| 67 | |
| 68 | auto i = std::find(boundThreads.begin(), boundThreads.end(), other); |
| 69 | |
| 70 | if (i != boundThreads.end()) { |
| 71 | boundThreads.erase(i); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | void AudioThread::deviceCleanup() { |
| 76 | // |
no outgoing calls
no test coverage detected