| 318 | // sets flags for playback (STRM_OPNF_XXX) |
| 319 | void AudioStream::SetFlags(int flags) { m_flags = flags; } |
| 320 | void AudioStream::SetLoopCount(int loop_count) { |
| 321 | // if loop_count = 0, then m_loopcount= -1, infinite; |
| 322 | // if loop_count = 1, then m_loopcount=0, no looping, etc. |
| 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. |
no outgoing calls
no test coverage detected