![]() |
WSCLib SDK 1.0.0
GPU-accelerated video output framework for Windows
|
Functions | |
| WSCVResult | WSCV_SetPosition (int playerId, float position) |
| Set playback position (normalized 0.0–1.0). | |
| float | WSCV_GetPosition (int playerId) |
| Get current playback position (normalized 0.0–1.0). | |
| WSCVResult | WSCV_SetTime (int playerId, long long timeMs) |
| Set playback time in milliseconds. | |
| long long | WSCV_GetTime (int playerId) |
| Get current playback time in milliseconds. | |
| long long | WSCV_GetLength (int playerId) |
| Get total duration in milliseconds. | |
| WSCVResult | WSCV_SetRate (int playerId, float rate) |
| Set playback rate. | |
| float | WSCV_GetRate (int playerId) |
| Get current playback rate. | |
| WSCVResult WSCV_SetPosition | ( | int | playerId, |
| float | position ) |
Set playback position (normalized 0.0–1.0).
| playerId | Player ID. |
| position | Normalized position. |
| float WSCV_GetPosition | ( | int | playerId | ) |
Get current playback position (normalized 0.0–1.0).
| playerId | Player ID. |
| WSCVResult WSCV_SetTime | ( | int | playerId, |
| long long | timeMs ) |
Set playback time in milliseconds.
| playerId | Player ID. |
| timeMs | Time in milliseconds. |
| long long WSCV_GetTime | ( | int | playerId | ) |
Get current playback time in milliseconds.
| playerId | Player ID. |
| long long WSCV_GetLength | ( | int | playerId | ) |
Get total duration in milliseconds.
| playerId | Player ID. |
| WSCVResult WSCV_SetRate | ( | int | playerId, |
| float | rate ) |
Set playback rate.
| playerId | Player ID. |
| rate | Playback speed (1.0 = normal, 2.0 = 2x). MF backend always returns 1.0. |
| float WSCV_GetRate | ( | int | playerId | ) |
Get current playback rate.
| playerId | Player ID. |