diff options
author | Jaroslav Kysela <perex@perex.cz> | 2001-10-24 14:14:11 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2001-10-24 14:14:11 +0000 |
commit | 27472b56a68c2ba7479f345560796b937afbf986 (patch) | |
tree | dcb638f093252265b00cb39078f231e71e6df5fa /src/pcm/pcm_adpcm.c | |
parent | caa8d5372ec9291ec59eabbbc212969a8cee35af (diff) |
Changes for static build.
Diffstat (limited to 'src/pcm/pcm_adpcm.c')
-rw-r--r-- | src/pcm/pcm_adpcm.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pcm/pcm_adpcm.c b/src/pcm/pcm_adpcm.c index 2b43154d..d21b263d 100644 --- a/src/pcm/pcm_adpcm.c +++ b/src/pcm/pcm_adpcm.c @@ -51,6 +51,11 @@ IMA compatability project proceedings, Vol 2, Issue 2, May 1992. #include "pcm_local.h" #include "pcm_plugin.h" +#ifndef PIC +/* entry for static linking */ +const char *_snd_module_pcm_adpcm = ""; +#endif + typedef void (*adpcm_f)(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t *src_areas, @@ -541,7 +546,6 @@ int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sfor return 0; } -SND_DLSYM_BUILD_VERSION(_snd_pcm_adpcm_open, SND_PCM_DLSYM_VERSION); int _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) @@ -586,5 +590,4 @@ int _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_close(spcm); return err; } - - +SND_DLSYM_BUILD_VERSION(_snd_pcm_adpcm_open, SND_PCM_DLSYM_VERSION); |