mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
doxygen: control: silence 'not documented' item warnings
From: borine@github Link: https://github.com/alsa-project/alsa-lib/pull/340 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
23931800da
commit
473a2eaba8
3 changed files with 12 additions and 1 deletions
|
|
@ -428,6 +428,7 @@ int snd_ctl_elem_info(snd_ctl_t *ctl, snd_ctl_elem_info_t *info)
|
|||
return ctl->ops->element_info(ctl, info);
|
||||
}
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#if 0 /* deprecated */
|
||||
static bool validate_element_member_dimension(snd_ctl_elem_info_t *info)
|
||||
{
|
||||
|
|
@ -503,6 +504,8 @@ int __snd_ctl_add_elem_set(snd_ctl_t *ctl, snd_ctl_elem_info_t *info,
|
|||
return ctl->ops->element_add(ctl, info);
|
||||
}
|
||||
|
||||
#endif /* DOC_HIDDEN */
|
||||
|
||||
/**
|
||||
* \brief Create and add some user-defined control elements of integer type.
|
||||
* \param ctl A handle of backend module for control interface.
|
||||
|
|
|
|||
|
|
@ -40,11 +40,12 @@
|
|||
const char *_snd_module_control_hw = "";
|
||||
#endif
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
|
||||
#ifndef F_SETSIG
|
||||
#define F_SETSIG 10
|
||||
#endif
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#define SNDRV_FILE_CONTROL ALSA_DEVICE_DIRECTORY "controlC%i"
|
||||
#define SNDRV_CTL_VERSION_MAX SNDRV_PROTOCOL_VERSION(2, 0, 4)
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#if 0
|
||||
#define REMAP_DEBUG 1
|
||||
#define debug(format, args...) fprintf(stderr, format, ##args)
|
||||
|
|
@ -48,6 +49,7 @@
|
|||
#endif
|
||||
|
||||
#define EREMAPNOTFOUND (888899)
|
||||
#endif /* DOC_HIDDEN */
|
||||
|
||||
#ifndef PIC
|
||||
/* entry for static linking */
|
||||
|
|
@ -379,10 +381,12 @@ static int snd_ctl_remap_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t *list)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#define ACCESS_BITS(bits) \
|
||||
(bits & (SNDRV_CTL_ELEM_ACCESS_READWRITE|\
|
||||
SNDRV_CTL_ELEM_ACCESS_VOLATILE|\
|
||||
SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE))
|
||||
#endif /* DOC_HIDDEN */
|
||||
|
||||
static int remap_map_elem_info(snd_ctl_remap_t *priv, snd_ctl_elem_info_t *info)
|
||||
{
|
||||
|
|
@ -1141,6 +1145,7 @@ static int parse_map(snd_ctl_remap_t *priv, snd_config_t *conf)
|
|||
* \param name Name of control device
|
||||
* \param remap Remap configuration
|
||||
* \param map Map configuration
|
||||
* \param child child configuration root
|
||||
* \param mode Control handle mode
|
||||
* \retval zero on success otherwise a negative error code
|
||||
* \warning Using of this function might be dangerous in the sense
|
||||
|
|
@ -1326,4 +1331,6 @@ int _snd_ctl_remap_open(snd_ctl_t **handlep, char *name, snd_config_t *root, snd
|
|||
snd_ctl_close(cctl);
|
||||
return err;
|
||||
}
|
||||
#ifndef DOC_HIDDEN
|
||||
SND_DLSYM_BUILD_VERSION(_snd_ctl_remap_open, SND_CONTROL_DLSYM_VERSION);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue