| 405 | } |
| 406 | |
| 407 | void AudioEngine::stopAll() |
| 408 | { |
| 409 | if (!_audioEngineImpl) |
| 410 | { |
| 411 | return; |
| 412 | } |
| 413 | _audioEngineImpl->stopAll(); |
| 414 | auto itEnd = _audioIDInfoMap.end(); |
| 415 | for (auto it = _audioIDInfoMap.begin(); it != itEnd; ++it) |
| 416 | { |
| 417 | if (it->second.profileHelper) |
| 418 | { |
| 419 | it->second.profileHelper->audioIDs.remove(it->first); |
| 420 | } |
| 421 | } |
| 422 | _audioPathIDMap.clear(); |
| 423 | _audioIDInfoMap.clear(); |
| 424 | } |
| 425 | |
| 426 | void AudioEngine::uncache(std::string_view filePath) |
| 427 | { |