| 323 | m_loopcount = loop_count - 1; |
| 324 | } |
| 325 | int AudioStream::GetLoopCount() const { |
| 326 | // if loop_count = 0, then m_loopcount= -1, infinite; |
| 327 | // if loop_count = 1, then m_loopcount=0, no looping, etc. |
| 328 | return m_loopcount + 1; |
| 329 | } |
| 330 | void AudioStream::SetVolume(float vol) { |
| 331 | m_volume = vol; |
| 332 | if (m_ll_sndsys) { |