doxygen: topology: silence 'not documented' 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:
borine 2023-07-30 12:05:13 +01:00 committed by Jaroslav Kysela
parent c4680ed458
commit 220377a2dd
5 changed files with 41 additions and 26 deletions

View file

@ -19,12 +19,14 @@
#include "tplg_local.h"
#ifndef DOC_HIDDEN
#define ENUM_VAL_SIZE (SNDRV_CTL_ELEM_ID_NAME_MAXLEN >> 2)
struct ctl_access_elem {
const char *name;
unsigned int value;
};
#endif /* DOC_HIDDEN */
/* CTL access strings and codes */
/* place the multi-bit values on top - like read_write - for save */

View file

@ -712,11 +712,13 @@ static int build_tuples(snd_tplg_t *tplg, struct tplg_elem *elem)
return 0;
}
#ifndef DOC_HIDDEN
struct tuple_type {
unsigned int type;
const char *name;
unsigned int size;
};
#endif /* DOC_HIDDEN */
static struct tuple_type tuple_types[] = {
{

View file

@ -481,10 +481,12 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
return elem;
}
#ifndef DOC_HIDDEN
struct tplg_alloc {
struct list_head list;
void *data[0];
};
#endif /* DOC_HIDDEN */
void *tplg_calloc(struct list_head *heap, size_t size)
{

View file

@ -1364,10 +1364,12 @@ int tplg_save_cc(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
return err;
}
#ifndef DOC_HIDDEN
struct audio_hw_format {
unsigned int type;
const char *name;
};
#endif /* DOC_HIDDEN */
static struct audio_hw_format audio_hw_formats[] = {
{