query package:alsa-seq

Queries a subscriber connected to (Write) or from (Read) a given address: query seq addr typ index
This module contains functions for working with subscriptions. Reference: http://www.alsa-project.org/alsa-doc/alsa-lib/group___seq_subscribe.html
Get information about the client with the next biggest identifier.
Get information about the first port on our client.
Get information about the port with the next biggest identifier. If a matching port is found, then its information is stored in the given area and True is returned.
Queries the list of subscribers accessing a port