mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Added snd_*_open_lconf functions.
Some minor changes in config interface documentation.
This commit is contained in:
parent
f830a77334
commit
c33c5760ab
14 changed files with 145 additions and 4 deletions
14
src/conf.c
14
src/conf.c
|
|
@ -1,11 +1,14 @@
|
|||
/**
|
||||
* \file conf.c
|
||||
* \ingroup Configuration
|
||||
* \brief Configuration helper functions
|
||||
* \author Abramo Bagnara <abramo@alsa-project.org>
|
||||
* \author Jaroslav Kysela <perex@suse.cz>
|
||||
* \date 2000-2001
|
||||
*
|
||||
* Tree based, full nesting configuration functions.
|
||||
*
|
||||
* See the \ref conf page for more details.
|
||||
*/
|
||||
/*
|
||||
* Configuration helper functions
|
||||
|
|
@ -216,7 +219,7 @@ a.0 "first"
|
|||
a.1 "second"
|
||||
\endcode
|
||||
|
||||
\section conf_summary Summary
|
||||
\section conf_syntax_summary Syntax summary
|
||||
|
||||
\code
|
||||
# Configuration file syntax
|
||||
|
|
@ -248,6 +251,8 @@ name.0 [=] value0 [,|;]
|
|||
name.1 [=] value1 [,|;]
|
||||
\endcode
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
/*! \page confarg Configuration - runtime arguments
|
||||
|
|
@ -2425,13 +2430,14 @@ SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VER
|
|||
#endif
|
||||
|
||||
/**
|
||||
* \brief Update #snd_config rereading (if needed) files specified in
|
||||
* environment variable ALSA_CONFIG_PATH. If it's not set the default value is
|
||||
* "/usr/share/alsa/alsa.conf".
|
||||
* \brief Update #snd_config rereading (if needed) global configuration files.
|
||||
* \return non-negative value on success, otherwise a negative error code
|
||||
* \retval 0 no action is needed
|
||||
* \retval 1 tree has been rebuild
|
||||
*
|
||||
* The global configuration files are specified in environment variable ALSA_CONFIG_PATH.
|
||||
* If it is not set the default value is "/usr/share/alsa/alsa.conf".
|
||||
*
|
||||
* Warning: If config tree is reread all the string pointer and config
|
||||
* node handle previously obtained from this tree become invalid
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue