From 2cd18ddc57ff0c44fd0ef6729447279c0e8968a2 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 27 Jan 2003 10:26:33 +0000 Subject: [PATCH] - use the normal dlsym() instead of snd_dlsym() to avoid the version check of external scope plugins. --- src/pcm/pcm_meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1