alsa-lib/src/pcm/pcm_symbols.c

73 lines
2.3 KiB
C
Raw Normal View History

2001-10-24 14:15:54 +00:00
/*
* PCM Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
2001-10-24 14:15:54 +00:00
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
2001-10-24 14:15:54 +00:00
*
* You should have received a copy of the GNU Lesser General Public
2001-10-24 14:15:54 +00:00
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2001-10-24 14:15:54 +00:00
*
*/
#ifndef PIC
extern const char *_snd_module_pcm_adpcm;
extern const char *_snd_module_pcm_alaw;
extern const char *_snd_module_pcm_copy;
extern const char *_snd_module_pcm_file;
extern const char *_snd_module_pcm_hooks;
extern const char *_snd_module_pcm_hw;
extern const char *_snd_module_pcm_linear;
extern const char *_snd_module_pcm_meter;
extern const char *_snd_module_pcm_mulaw;
extern const char *_snd_module_pcm_multi;
extern const char *_snd_module_pcm_null;
extern const char *_snd_module_pcm_plug;
extern const char *_snd_module_pcm_rate;
extern const char *_snd_module_pcm_route;
extern const char *_snd_module_pcm_share;
extern const char *_snd_module_pcm_shm;
extern const char *_snd_module_pcm_lfloat;
extern const char *_snd_module_pcm_ladspa;
extern const char *_snd_module_pcm_dmix;
2003-02-12 20:59:38 +00:00
extern const char *_snd_module_pcm_jack;
2001-10-24 14:15:54 +00:00
static const char **snd_pcm_open_objects[] = {
&_snd_module_pcm_adpcm,
&_snd_module_pcm_alaw,
&_snd_module_pcm_copy,
&_snd_module_pcm_file,
&_snd_module_pcm_hooks,
&_snd_module_pcm_hw,
&_snd_module_pcm_linear,
&_snd_module_pcm_meter,
&_snd_module_pcm_mulaw,
&_snd_module_pcm_multi,
&_snd_module_pcm_null,
&_snd_module_pcm_plug,
&_snd_module_pcm_rate,
&_snd_module_pcm_route,
&_snd_module_pcm_share,
&_snd_module_pcm_shm,
&_snd_module_pcm_lfloat,
&_snd_module_pcm_ladspa,
2003-02-12 20:59:38 +00:00
&_snd_module_pcm_dmix,
&_snd_module_pcm_jack
2001-10-24 14:15:54 +00:00
};
void *snd_pcm_open_symbols(void)
{
return (void *)snd_pcm_open_objects[0];
}
#endif /* !PIC */