ALSA project - the C library reference
Loading...
Searching...
No Matches
pcm_external.h
Go to the documentation of this file.
1
10/*
11 * This library is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as
13 * published by the Free Software Foundation; either version 2.1 of
14 * the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 *
25 */
26#ifndef __ALSA_PCM_EXTERNAL_H
27#define __ALSA_PCM_EXTERNAL_H
28
29#ifndef __ASOUNDLIB_LOCAL
30#include <alsa/asoundlib.h>
31#endif
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
45#define SND_PCM_PLUGIN_ENTRY(name) _snd_pcm_##name##_open
46
50#define SND_PCM_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_PCM_PLUGIN_ENTRY(name), SND_PCM_DLSYM_VERSION);
51
55#define SND_PCM_PLUGIN_DEFINE_FUNC(plugin) \
56int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
57 snd_config_t *root, snd_config_t *conf, \
58 snd_pcm_stream_t stream, int mode)
59
60#include "pcm_ioplug.h"
61#include "pcm_extplug.h"
62
63int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
64 int *cchannelsp, int *hwctlp) __attribute__((deprecated));
65
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* __ALSA_PCM_EXTERNAL_H */
struct _snd_config snd_config_t
Internal structure for a configuration node object.
Definition conf.h:74
struct _snd_ctl_elem_id snd_ctl_elem_id_t
Definition control.h:88
int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp, int *cchannelsp, int *hwctlp)
Parse control element id from the config.
Definition pcm_misc.c:773
External Filter-Plugin SDK.
External I/O-Plugin SDK.