mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -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
|
|
@ -171,6 +171,22 @@ int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode)
|
|||
return snd_hwdep_open_noupdate(hwdep, snd_config, name, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Opens a new connection to the HwDep interface using local configuration
|
||||
* \param hwdep Returned handle (NULL if not wanted)
|
||||
* \param name ASCII identifier of the HwDep handle
|
||||
* \param mode Open mode
|
||||
* \return 0 on success otherwise a negative error code
|
||||
*
|
||||
* Opens a new connection to the HwDep interface specified with
|
||||
* an ASCII identifier and mode.
|
||||
*/
|
||||
int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode, snd_config_t *lconf)
|
||||
{
|
||||
assert(hwdep && name);
|
||||
return snd_hwdep_open_noupdate(hwdep, lconf, name, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief close HwDep handle
|
||||
* \param hwdep HwDep handle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue