mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
- use the normal dlsym() instead of snd_dlsym() to avoid the version
check of external scope plugins.
This commit is contained in:
parent
2dc8cba51c
commit
2cd18ddc57
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue