annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/alsa/pcm_external.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /**
jpayne@69 2 * \file include/pcm_external.h
jpayne@69 3 * \brief External PCM plugin SDK
jpayne@69 4 * \author Takashi Iwai <tiwai@suse.de>
jpayne@69 5 * \date 2005
jpayne@69 6 *
jpayne@69 7 * Extern PCM plugin SDK.
jpayne@69 8 */
jpayne@69 9
jpayne@69 10 /*
jpayne@69 11 * This library is free software; you can redistribute it and/or modify
jpayne@69 12 * it under the terms of the GNU Lesser General Public License as
jpayne@69 13 * published by the Free Software Foundation; either version 2.1 of
jpayne@69 14 * the License, or (at your option) any later version.
jpayne@69 15 *
jpayne@69 16 * This program is distributed in the hope that it will be useful,
jpayne@69 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jpayne@69 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
jpayne@69 19 * GNU Lesser General Public License for more details.
jpayne@69 20 *
jpayne@69 21 * You should have received a copy of the GNU Lesser General Public
jpayne@69 22 * License along with this library; if not, write to the Free Software
jpayne@69 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
jpayne@69 24 *
jpayne@69 25 */
jpayne@69 26 #ifndef __ALSA_PCM_EXTERNAL_H
jpayne@69 27 #define __ALSA_PCM_EXTERNAL_H
jpayne@69 28
jpayne@69 29 #include "pcm.h"
jpayne@69 30
jpayne@69 31 #ifdef __cplusplus
jpayne@69 32 extern "C" {
jpayne@69 33 #endif
jpayne@69 34
jpayne@69 35 /**
jpayne@69 36 * \defgroup Plugin_SDK External PCM plugin SDK
jpayne@69 37 * \{
jpayne@69 38 */
jpayne@69 39
jpayne@69 40 /**
jpayne@69 41 * Define the object entry for external PCM plugins
jpayne@69 42 */
jpayne@69 43 #define SND_PCM_PLUGIN_ENTRY(name) _snd_pcm_##name##_open
jpayne@69 44
jpayne@69 45 /**
jpayne@69 46 * Define the symbols of the given plugin with versions
jpayne@69 47 */
jpayne@69 48 #define SND_PCM_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_PCM_PLUGIN_ENTRY(name), SND_PCM_DLSYM_VERSION);
jpayne@69 49
jpayne@69 50 /**
jpayne@69 51 * Define the plugin
jpayne@69 52 */
jpayne@69 53 #define SND_PCM_PLUGIN_DEFINE_FUNC(plugin) \
jpayne@69 54 int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
jpayne@69 55 snd_config_t *root, snd_config_t *conf, \
jpayne@69 56 snd_pcm_stream_t stream, int mode)
jpayne@69 57
jpayne@69 58 #include "pcm_ioplug.h"
jpayne@69 59 #include "pcm_extplug.h"
jpayne@69 60
jpayne@69 61 int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
jpayne@69 62 int *cchannelsp, int *hwctlp);
jpayne@69 63
jpayne@69 64 /** \} */
jpayne@69 65
jpayne@69 66 #ifdef __cplusplus
jpayne@69 67 }
jpayne@69 68 #endif
jpayne@69 69
jpayne@69 70 #endif /* __ALSA_PCM_EXTERNAL_H */