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
|
@ -171,6 +171,24 @@ int snd_timer_open(snd_timer_t **timer, const char *name, int mode)
|
|||
return snd_timer_open_noupdate(timer, snd_config, name, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Opens a new connection to the timer interface using local configuration
|
||||
* \param timer Returned handle (NULL if not wanted)
|
||||
* \param name ASCII identifier of the timer handle
|
||||
* \param mode Open mode
|
||||
* \param lconf Local configuration
|
||||
* \return 0 on success otherwise a negative error code
|
||||
*
|
||||
* Opens a new connection to the timer interface specified with
|
||||
* an ASCII identifier and mode.
|
||||
*/
|
||||
int snd_timer_open_lconf(snd_timer_t **timer, const char *name,
|
||||
int mode, snd_config_t *lconf)
|
||||
{
|
||||
assert(timer && name && lconf);
|
||||
return snd_timer_open_noupdate(timer, lconf, name, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief close timer handle
|
||||
* \param timer timer handle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue