Obtains the running state of the specified queue q. The resultant data is stored on the following structure.
/* queue info/status */
typedef struct {
int queue; /* queue id */
int events; /* read-only - queue size */
snd_seq_tick_time_t tick; /* current tick */
snd_seq_real_time_t time; /* current time */
int running; /* running state of queue */
int flags; /* various flags */
char reserved[64]; /* for the future */
} snd_seq_queue_status_t;
The events field contains the number of
events stored in this queue.
The tick and time
fields contain the current tick and real-time values, respectively.
The running field shows the boolean
running state, either 0 or 1.
The flags contains various flags.
At this moment, it is not used yet.Function returns zero if successful. A negative value is returned if an error occurs.