| 60 | return m_pitch; |
| 61 | } |
| 62 | SoundStatus Sound::getStatus() const |
| 63 | { |
| 64 | if (!m_manager.isValidVoiceHandle(m_handle)) |
| 65 | { |
| 66 | return SoundStatus::Stopped; |
| 67 | } |
| 68 | else if (m_manager.getPause(m_handle)) |
| 69 | { |
| 70 | return SoundStatus::Paused; |
| 71 | } |
| 72 | else |
| 73 | { |
| 74 | return SoundStatus::Playing; |
| 75 | } |
| 76 | } |
| 77 | void Sound::setOffset(double offset) const |
| 78 | { |
| 79 | m_manager.seek(m_handle, offset); |
nothing calls this directly
no test coverage detected