ALSA project - the C library reference
|
00001 00010 /* 00011 * This library is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU Lesser General Public License as 00013 * published by the Free Software Foundation; either version 2.1 of 00014 * the License, or (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 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 /* __ALSA_PCM_EXTERNAL_H */