From: Takashi Iwai Date: Mon, 27 Jan 2003 10:26:33 +0000 (+0000) Subject: - use the normal dlsym() instead of snd_dlsym() to avoid the version X-Git-Tag: v1.0.3~322 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2cd18ddc57ff0c44fd0ef6729447279c0e8968a2;p=alsa-lib.git - use the normal dlsym() instead of snd_dlsym() to avoid the version check of external scope plugins. --- diff --git a/src/pcm/pcm_meter.c b/src/pcm/pcm_meter.c index 402d0fdf..26e169b7 100644 --- a/src/pcm/pcm_meter.c +++ b/src/pcm/pcm_meter.c @@ -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);