| 187 | } |
| 188 | |
| 189 | void AudioSource::Stop() |
| 190 | { |
| 191 | if (_state == States::Stopped) |
| 192 | return; |
| 193 | PROFILE_CPU(); |
| 194 | |
| 195 | _state = States::Stopped; |
| 196 | _isActuallyPlayingSth = false; |
| 197 | _streamingFirstChunk = 0; |
| 198 | if (SourceID) |
| 199 | AudioBackend::Source::Stop(SourceID); |
| 200 | } |
| 201 | |
| 202 | float AudioSource::GetTime() const |
| 203 | { |
no test coverage detected