From 731253e82a041c558a19e269444cd56a611f857a Mon Sep 17 00:00:00 2001 From: borine <32966433+borine@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:26:56 +0100 Subject: [PATCH] doxygen: conf: do not hide PCM specific function From: borine@github Link: https://github.com/alsa-project/alsa-lib/pull/340 Signed-off-by: Jaroslav Kysela --- src/confmisc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/confmisc.c b/src/confmisc.c index 0559fb66..9b30d6c1 100644 --- a/src/confmisc.c +++ b/src/confmisc.c @@ -1031,6 +1031,14 @@ int snd_func_card_name(snd_config_t **dst, snd_config_t *root, SND_DLSYM_BUILD_VERSION(snd_func_card_name, SND_CONFIG_DLSYM_VERSION_EVALUATE); #endif +#ifdef DOXYGEN +/* For consistency with the PCM Interface module, include documentation even + * when PCM module is not included in the build. */ +#ifndef BUILD_PCM +#define BUILD_PCM +#endif +#endif /* DOXYGEN */ + #ifdef BUILD_PCM /** -- 2.47.1