| 152 | } |
| 153 | |
| 154 | void AmbientManager::cancelAll() { |
| 155 | if (m_weatherTrack) { |
| 156 | m_weatherTrack->stop(); |
| 157 | m_weatherTrack = {}; |
| 158 | } |
| 159 | if (m_currentTrack) { |
| 160 | m_currentTrack->stop(); |
| 161 | m_currentTrack = {}; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void AmbientManager::setVolume(float volume, float delay, float duration) { |
| 166 | if (m_volume == volume) |
no test coverage detected