MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetLoopCount

Method GetLoopCount

stream_audio/streamaudio.cpp:325–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 m_loopcount = loop_count - 1;
324}
325int 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}
330void AudioStream::SetVolume(float vol) {
331 m_volume = vol;
332 if (m_ll_sndsys) {

Callers 1

GetCurrentLoopNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected