- startInFrames
- loop start marker expressed in frames Zero corresponds to start of buffer. The start marker must not be greater than or equal to the buffer size in frames, or negative.
- endInFrames
- loop end marker expressed in frames The total buffer size in frames corresponds to end of buffer. The end marker must not be greater than the buffer size in frames. For looping, the end marker must not be less than or equal to the start marker, but to disable looping it is permitted for start marker, end marker, and loop count to all be 0.
- loopCount
- the number of times the loop is looped. A value of -1 means infinite looping, and 0 disables looping.
Documentation for this section has not yet been entered.
Sets the loop points and the loop count. The loop can be infinite. Similarly to setPlaybackHeadPosition, the track must be stopped or paused for the loop points to be changed, and must use the AudioTrack.MODE_STATIC mode.