snd_seq_query_next_port

Name

snd_seq_query_next_port -- query the next matching port

Synopsis

int snd_seq_query_next_port(snd_seq_t *handle, snd_seq_port_info_t *info);

Description

Queries the next matching port from the port on the client given in info argument. The search begins at the next port specified in port field of info. For finding the first port at a certain client, give -1 to port field. If name or group field is not empty, the name or the group name is checked. If a matching port is found, its attributes are stored on info and function returns zero. Otherwise, a negative error code is returned.

See Also

snd_seq_port_info_t