OSDN Git Service

snd_dlopen: do not use absolute plugin path for snd_dlopen() calls
authorJaroslav Kysela <perex@perex.cz>
Thu, 4 Jun 2020 16:22:59 +0000 (18:22 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Jun 2020 17:09:50 +0000 (19:09 +0200)
commitb2a4272ecb40d84556d8e043d0b6e89439acbc33
treea33b440195c3c93b2575009eb6e5f10a72bab908
parent577df365f66ee09579864fc771136e690927b3bf
snd_dlopen: do not use absolute plugin path for snd_dlopen() calls

In commit b906db19ef9f4fb7886003072e550391cc1ac651, 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>
modules/mixer/simple/sbasedl.c
src/control/control.c
src/mixer/simple_abst.c
src/pcm/pcm.c
src/pcm/pcm_rate.c