[alsa-devel] snd_seq_system_info_get_cur_ports function
clemens at ladisch.de
Mon Jul 29 21:52:49 CEST 2013
Jose B wrote:
> Shouldnt there be a function for getting the current port count as seen below?
> snd_seq_system_info_get_cur_ports(const snd_seq_system_info_t *info)
There is no such value:
> I was writing a function to quickly check if any new ports were registered
> on the sequencer after the application using the wrapper starts up.
The number of ports is not helpful for detecting all changes.
Subscribe to port 0:1 (SND_SEQ_CLIENT_SYSTEM:SND_SEQ_PORT_SYSTEM_ANNOUNCE) to
receive events for any changes.
More information about the Alsa-devel