00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef __ALSA_PCM_EXTERNAL_H
00027 #define __ALSA_PCM_EXTERNAL_H
00028
00029 #include "pcm.h"
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00043 #define SND_PCM_PLUGIN_ENTRY(name) _snd_pcm_##name##_open
00044
00048 #define SND_PCM_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_PCM_PLUGIN_ENTRY(name), SND_PCM_DLSYM_VERSION);
00049
00053 #define SND_PCM_PLUGIN_DEFINE_FUNC(plugin) \
00054 int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
00055 snd_config_t *root, snd_config_t *conf, \
00056 snd_pcm_stream_t stream, int mode)
00057
00058 #include "pcm_ioplug.h"
00059 #include "pcm_extplug.h"
00060
00061 int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
00062 int *cchannelsp, int *hwctlp);
00063
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069
00070 #endif