Stores the information of the current client specified on info argument. The client field in info is ignored.
typedef struct { int client; /* client number to inquire */ snd_seq_client_type_t type; /* client type */ char name[64]; /* client name */ unsigned int filter; /* filter flags */ unsigned char multicast_filter[8]; /* multicast filter bitmap */ unsigned char event_filter[32]; /* event filter bitmap */ char group[32]; /* group name */ int num_ports; /* RO: number of ports */ int event_lost; /* number of lost events */ char reserved[64]; /* for future use */ } snd_seq_client_info_t;
In order to accept broadcast or error bounce messages, or to filter only some events, the following bit flags should be set in filter field.
Value | Description |
---|---|
SND_SEQ_FILTER_BROADCAST | Accepts broadcast messages to this client. |
SND_SEQ_FILTER_MULTICAST | Accepts multicast messages. Not implemented yet. |
SND_SEQ_FILTER_BOUNCE | Accepts bounce events in error. |
SND_SEQ_FILTER_USE_EVENT | Enables event filters to this client. |