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
|
|
@ -214,6 +214,25 @@ int snd_seq_open(snd_seq_t **seqp, const char *name,
|
|||
return snd_seq_open_noupdate(seqp, snd_config, name, streams, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Open the ALSA sequencer using local configuration
|
||||
*
|
||||
* \param seqp Pointer to a snd_seq_t pointer.
|
||||
* \param streams The read/write mode of the sequencer.
|
||||
* \param mode Optional modifier
|
||||
* \param lconf Local configuration
|
||||
* \return 0 on success otherwise a negative error code
|
||||
*
|
||||
* See the snd_seq_open() function for further details. The extension
|
||||
* is that the given configuration is used to resolve abstract name.
|
||||
*/
|
||||
int snd_seq_open_lconf(snd_seq_t **seqp, const char *name,
|
||||
int streams, int mode, snd_config_t *lconf)
|
||||
{
|
||||
assert(seqp && name && lconf);
|
||||
return snd_seq_open_noupdate(seqp, lconf, name, streams, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Close the sequencer
|
||||
* \param handle Handle returned from #snd_seq_open()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue