From: Takashi Sakamoto Date: Wed, 28 Sep 2016 23:57:22 +0000 (+0900) Subject: ctl: improve API documentation for TLV operation X-Git-Tag: v1.1.3~54 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d31e37d12c58ca3be72e404a222289a896029ef1;p=alsa-lib.git ctl: improve API documentation for TLV operation A commit fe1b08803db6 ("ctl: improve API documentation for threshold level operations") changes documentations for some TLV-related APIs with wrong explanations. This commit fix it with better explanations. Fixes: fe1b08803db6 ("ctl: improve API documentation for threshold level operations") Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- diff --git a/src/control/control.c b/src/control/control.c index 6c00b8e5..422582d4 100644 --- a/src/control/control.c +++ b/src/control/control.c @@ -912,7 +912,7 @@ static int snd_ctl_tlv_do(snd_ctl_t *ctl, int op_flag, } /** - * \brief Set given data to an element as threshold level. + * \brief Read structured data from an element set to given buffer. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. @@ -940,7 +940,7 @@ int snd_ctl_elem_tlv_read(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, } /** - * \brief Set given data to an element as threshold level. + * \brief Write structured data from given buffer to an element set. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. The second member @@ -957,7 +957,7 @@ int snd_ctl_elem_tlv_write(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, } /** - * \brief Set given data to an element as threshold level. + * \brief Process structured data from given buffer for an element set. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. The second member