Obtains the access information of the current client to the specified queue q. The access information contains the following data.
typedef struct {
int queue; /* sequencer queue */
int client; /* sequencer client */
int used; /* queue is used with this client */
/* per client watermarks */
char reserved[64]; /* for future use */
} snd_seq_queue_client_t;
The queue and client
fields are filled inside.
The used field is non-zero
if the queue is accessible from this client.
Note that this flag must be set for accepting any events from the client.
When a queue is allocated via
snd_seq_alloc_queue or
snd_seq_alloc_named_queue,
the access flag is set automatically.Function returns zero if successful, or a negative error code.