| 391 | } |
| 392 | |
| 393 | void AudioEngine::remove(AUDIO_ID audioID) |
| 394 | { |
| 395 | auto it = _audioIDInfoMap.find(audioID); |
| 396 | if (it != _audioIDInfoMap.end()) |
| 397 | { |
| 398 | if (it->second.profileHelper) |
| 399 | { |
| 400 | it->second.profileHelper->audioIDs.remove(audioID); |
| 401 | } |
| 402 | _audioPathIDMap[it->second.filePath].remove(audioID); |
| 403 | _audioIDInfoMap.erase(audioID); |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | void AudioEngine::stopAll() |
| 408 | { |
no test coverage detected