mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Some small modifications to make doxygen happy.
This commit is contained in:
parent
9af9f033dd
commit
8ae3783494
3 changed files with 9 additions and 5 deletions
|
|
@ -98,9 +98,6 @@ int snd_config_get_bool(snd_config_t *conf);
|
||||||
int snd_config_get_ctl_iface_ascii(const char *ascii);
|
int snd_config_get_ctl_iface_ascii(const char *ascii);
|
||||||
int snd_config_get_ctl_iface(snd_config_t *conf);
|
int snd_config_get_ctl_iface(snd_config_t *conf);
|
||||||
|
|
||||||
int snd_config_refer_load(snd_config_t **dst, char **name,
|
|
||||||
snd_config_t *root, snd_config_t *config);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,11 @@
|
||||||
|
|
||||||
/** \} */
|
/** \} */
|
||||||
|
|
||||||
|
/** helper macro for SND_DLSYM_BUILD_VERSION */
|
||||||
#define __SND_DLSYM_VERSION(name, version) _ ## name ## version
|
#define __SND_DLSYM_VERSION(name, version) _ ## name ## version
|
||||||
|
/** build version for versioned dynamic symbol */
|
||||||
#define SND_DLSYM_BUILD_VERSION(name, version) char __SND_DLSYM_VERSION(name, version)
|
#define SND_DLSYM_BUILD_VERSION(name, version) char __SND_DLSYM_VERSION(name, version)
|
||||||
|
/** get version of dynamic symbol as string */
|
||||||
#define SND_DLSYM_VERSION(version) __STRING(version)
|
#define SND_DLSYM_VERSION(version) __STRING(version)
|
||||||
|
|
||||||
int snd_dlsym_verify(void *handle, const char *name, const char *version);
|
int snd_dlsym_verify(void *handle, const char *name, const char *version);
|
||||||
|
|
|
||||||
|
|
@ -1869,6 +1869,9 @@ static int snd_config_hooks(snd_config_t *config, void *private_data)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef DOC_HIDDEN
|
||||||
|
SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK);
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* \brief Load configuration from specified files
|
* \brief Load configuration from specified files
|
||||||
* \param root Configuration root node
|
* \param root Configuration root node
|
||||||
|
|
@ -1877,7 +1880,6 @@ static int snd_config_hooks(snd_config_t *config, void *private_data)
|
||||||
* \param private_data Private data
|
* \param private_data Private data
|
||||||
* \return zero if success, otherwise a negative error code
|
* \return zero if success, otherwise a negative error code
|
||||||
*/
|
*/
|
||||||
SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK);
|
|
||||||
int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data)
|
int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data)
|
||||||
{
|
{
|
||||||
snd_config_t *n, *res = NULL;
|
snd_config_t *n, *res = NULL;
|
||||||
|
|
@ -2004,6 +2006,9 @@ int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t
|
||||||
int snd_determine_driver(int card, char **driver);
|
int snd_determine_driver(int card, char **driver);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DOC_HIDDEN
|
||||||
|
SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK);
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* \brief Load configuration for all present cards
|
* \brief Load configuration for all present cards
|
||||||
* \param root Configuration root node
|
* \param root Configuration root node
|
||||||
|
|
@ -2012,7 +2017,6 @@ int snd_determine_driver(int card, char **driver);
|
||||||
* \param private_data Private data
|
* \param private_data Private data
|
||||||
* \return zero if success, otherwise a negative error code
|
* \return zero if success, otherwise a negative error code
|
||||||
*/
|
*/
|
||||||
SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK);
|
|
||||||
int snd_config_hook_load_for_all_cards(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data ATTRIBUTE_UNUSED)
|
int snd_config_hook_load_for_all_cards(snd_config_t *root, snd_config_t *config, snd_config_t **dst, void *private_data ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
int card = -1, err;
|
int card = -1, err;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue