NJB_Play_Track3
Play a track on the njb
Usage
#include <sys/types.h> #include <libnjb.h>
extern int njb_error
int NJB_Play_Track (njb_t *njb, u_int32_t trackid)
Library
libnjb
Overview
This function clears the active play list on the NJB, and then starts playback of the specified track. The ID of the desired track is passed in the trackid parameter.
Return values
NJB_Play_Track returns 0 on success. If a failure occurs, it returns -1 and sets njb_error
EO_BADSTATUS
|
The NJB returned a non-zero status in response to the playback request. |
|---|---|
EO_USBCTL
|
An I/O failure occurred on the control pipe. |
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).