Jaa


AudioFileInputNode.LoopCount Property

Definition

Gets or sets the loop count of the audio file input node.

public:
 property IReference<int> ^ LoopCount { IReference<int> ^ get(); void set(IReference<int> ^ value); };
IReference<int> LoopCount();

void LoopCount(IReference<int> value);
public System.Nullable<int> LoopCount { get; set; }
var iReference = audioFileInputNode.loopCount;
audioFileInputNode.loopCount = iReference;
Public Property LoopCount As Nullable(Of Integer)

Property Value

A reference to an integer representing the loop count.

Remarks

The LoopCount property specifies the number of times that the node will seek back to the StartTime, or the beginning of the file if StartTime is not set, and replay the content of the file. This value does not include the initial playback of the file, so using the default value of 0 will result in the file being played once, and setting the value to 5 will result in the file being played 6 times in total. Setting this value to null will cause the file to be looped indefinitely. To break out of the infinite loop, set LoopCount back to 0.

Applies to