NJB_Delete_Track3
Delete an audio track from the njb
Usage
#include <sys/types.h> #include <libnjb.h>
extern int njb_error
int NJB_Delete_Track (njb_t *njb, u_int32_t trackid)
Library
libnjb
Overview
This function deletes an audio track from the NJB. The ID of the track to be deleted is passed in the trackid parameter.
This function also increments the NJB's library counter, provided it has not been incremented previously during the session.
Return values
This function returns 0 on success. If a failure occurs, it returns -1 and sets njb_error
- EO_BADCOUNT
-
The track was successfully deteled, but the NJB's library counter could not be updated.
- EO_BADSTATUS
-
The NJB returned a non-zero status. The track was not deleted.
- EO_USBCTL
-
An I/O error occurred on the control pipe. The track was not deleted.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).