njb_queue_track(3)

NAME

NJB_Queue_Track - Queue a track for play on the NJB

LIBRARY

libnjb

SYNOPSIS

#include <sys/types.h> #include <libnjb.h>
extern int njb_error
int NJB_Queue_Track (njb_t *njb, u_int32_t trackid)

DESCRIPTION

This function queues a track for play on the NJB. The ID
of the desired track is passed in the trackid parameter. Note
that playback must have been previously started via the

NJB_Play_Track

which they are queued.

RETURN VALUES

NJB_Queue_Track returns 0 on success. If a failure oc
curs, it returns -1 and sets njb_error
EO_BADSTATUS
The NJB returned a non-zero status in response
to the queue request.
EO_USBCTL An I/O failure occurred on the control pipe.

April 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout