- use the normal dlsym() instead of snd_dlsym() to avoid the version

check of external scope plugins.
This commit is contained in:
Takashi Iwai 2003-01-27 10:26:33 +00:00
parent 2dc8cba51c
commit 2cd18ddc57

View file

@ -733,7 +733,7 @@ static int snd_pcm_meter_add_scope_conf(snd_pcm_t *pcm, const char *name,
snprintf(buf, sizeof(buf), "_snd_pcm_scope_%s_open", str);
}
h = snd_dlopen(lib, RTLD_NOW);
open_func = h ? snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_PCM_DLSYM_VERSION)) : NULL;
open_func = h ? dlsym(h, open_name) : NULL;
err = 0;
if (!h) {
SNDERR("Cannot open shared library %s", lib);