mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix documentation of external PCM plugin SDK
Fix documentation of external PCM plugin SDK.
This commit is contained in:
parent
8b76989e19
commit
7651690858
6 changed files with 312 additions and 31 deletions
|
|
@ -37,9 +37,19 @@ extern "C" {
|
|||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Define the object entry for external PCM plugins
|
||||
*/
|
||||
#define SND_PCM_PLUGIN_ENTRY(name) _snd_pcm_##name##_open
|
||||
|
||||
/**
|
||||
* Define the symbols of the given plugin with versions
|
||||
*/
|
||||
#define SND_PCM_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_PCM_PLUGIN_ENTRY(name), SND_PCM_DLSYM_VERSION);
|
||||
|
||||
/**
|
||||
* Define the plugin
|
||||
*/
|
||||
#define SND_PCM_PLUGIN_DEFINE_FUNC(plugin) \
|
||||
int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
|
||||
snd_config_t *root, snd_config_t *conf, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue