Added snd_*_open_lconf functions.

Some minor changes in config interface documentation.
This commit is contained in:
Jaroslav Kysela 2001-11-24 17:47:01 +00:00
parent f830a77334
commit c33c5760ab
14 changed files with 145 additions and 4 deletions

View file

@ -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()