0
0

Using 4.36.03

The docs mention:

[quote:2zq5tzbm]Number of times to loop before stopping. 0 = oneshot. 1 = loop once then stop. -1 = loop forever. Default = -1[/quote:2zq5tzbm]

What isn’t clear is if a loop is defined as "the number of times a sound will be heard" or "the number of additional times a sound will be heard after the first play." If I call channel.setLoopCount(5), I hear the sound a total of 6 times. Is this intended?

Thanks,

Johnny

  • You must to post comments
0
0

Yes it is. ‘Oneshot’ means play once through, so 0 = oneshot means exactly that. 1 = loop once then stop means play twice.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.