summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-09-29 08:57:22 +0900
committerTakashi Iwai <tiwai@suse.de>2016-09-30 17:12:48 +0200
commitd31e37d12c58ca3be72e404a222289a896029ef1 (patch)
treed0ea7732294a5d5441ee4dff99482be2442274d2
parentee1182d2cbb4930ca1166bc03f3b0fcfbb594145 (diff)
downloadalsa-lib-d31e37d12c58ca3be72e404a222289a896029ef1.tar.gz
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 <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/control/control.c6
1 files changed, 3 insertions, 3 deletions
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