|
This function returns the elapsed time for the currently playing track on the device. Additionally, it signals if the track has changed, e.g. if the device has skipped to the next track in the queue.
- Parameters:
-
| njb | a pointer to the jukebox object that the track is playing on. |
| elapsed | a pointer to a variable that will hold the number of elapsed seconds after the call to this function. |
| change | a pointer to a variable that will hold 0 if the track has not changed, and something different from 0 if the track has changed. |
- Returns:
- 0 on success, -1 on failure.
- Examples:
-
cursesplay.c, and play.c.
|