[alsa-devel] [PATCH] Provide sequencer sound card number / PID via alsa-lib

Clemens Ladisch clemens at ladisch.de
Mon Feb 15 11:39:13 CET 2016


Martin Koegler wrote:
> +++ b/src/seq/seq.c
>  /**
> + * \brief Get the sound card number (kernel) or owning PID
> + * \param info client_info container
> + * \return card number/PID/-1 if value is not available.
> + */

Please document that card/pid are valid only for clients of type
SND_SEQ_KERNEL/USER_CLIENT.

And I think two functions for card and pid are more appropriate.


Regards,
Clemens


More information about the Alsa-devel mailing list