From 4870f6737a5b16ddcfea82a8623d4d7c6992b430 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 --- src/confmisc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/confmisc.c b/src/confmisc.c index cfd50bad..a319fcd4 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 /**