mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-16 22:05:18 -05:00
control: enhance doc for snd_ctl_ascii_value_parse() function
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
91de1212d0
commit
201f28a008
1 changed files with 3 additions and 0 deletions
|
|
@ -302,6 +302,9 @@ static int get_ctl_enum_item_index(snd_ctl_t *handle,
|
||||||
* \param info CTL element info structure
|
* \param info CTL element info structure
|
||||||
* \param value source ASCII string
|
* \param value source ASCII string
|
||||||
* \return zero on success, otherwise a negative error code
|
* \return zero on success, otherwise a negative error code
|
||||||
|
*
|
||||||
|
* Note: For toggle command, the dst must contain previous (current)
|
||||||
|
* state (do the #snd_ctl_elem_read call to obtain it).
|
||||||
*/
|
*/
|
||||||
int snd_ctl_ascii_value_parse(snd_ctl_t *handle,
|
int snd_ctl_ascii_value_parse(snd_ctl_t *handle,
|
||||||
snd_ctl_elem_value_t *dst,
|
snd_ctl_elem_value_t *dst,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue