WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
Loading...
Searching...
No Matches
Loop Controls

Functions

WSCVResult WSCV_SetLoop (int playerId, int loop)
 Enable or disable looping.
int WSCV_GetLoop (int playerId)
 Get current loop state.

Detailed Description

Function Documentation

◆ WSCV_SetLoop()

WSCVResult WSCV_SetLoop ( int playerId,
int loop )

Enable or disable looping.

When enabled (default), the video restarts automatically at the end.

Parameters
playerIdPlayer ID.
loop1 to enable looping, 0 to disable.
Returns
WSCV_OK on success.

◆ WSCV_GetLoop()

int WSCV_GetLoop ( int playerId)

Get current loop state.

Parameters
playerIdPlayer ID.
Returns
1 if looping enabled, 0 if disabled, -1 on error.