snd_dlopen: do not use absolute plugin path for snd_dlopen() calls

In commit b906db19ef, the snd_dlopen()
implements the automatic lookup to the ALSA_PLUGIN_DIR directory.
It is not necessary to add the absolute paths in callers now.

The plugin names are also searched in ld.so.conf paths as the fallback now,
but it should not be a big problem.

BugLink: https://github.com/alsa-project/alsa-lib/issues/34
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-06-04 18:22:59 +02:00
parent 577df365f6
commit b2a4272ecb
5 changed files with 8 additions and 8 deletions

View file

@ -33,7 +33,7 @@
#include "mixer_abst.h"
#include "sbase.h"
#define SO_PATH ALSA_PLUGIN_DIR "/smixer"
#define SO_PATH "smixer"
int mixer_simple_basic_dlopen(snd_mixer_class_t *class,
bclass_base_ops_t **ops)