NJB_Queue_Track(3)

NJB_Queue_Track3

Queue a track for play on the njb

Usage

#include <sys/types.h> #include <libnjb.h>

extern int njb_error

int NJB_Queue_Track (njb_t *njb, u_int32_t trackid)

Library

libnjb

Overview

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(3) function. Tracks are played in the order in which they are queued.

Return values

NJB_Queue_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 queue request.

EO_USBCTL

An I/O failure occurred on the control pipe.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

From libnjb1-doc 1.1-2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.