]> git.alsa-project.org Git - alsa-lib.git/commit
Cache libasound.so access in snd_dlopen
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2009 15:34:34 +0000 (16:34 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 3 Nov 2009 15:41:09 +0000 (16:41 +0100)
commit0bff86858030d4d19bbc39e50913853f963799af
tree295efc2897a3bf1130365ddb241e09fdfc84b794
parente1c7dd261347f6a0b9ad56e52bb86dfe057cfb9a
Cache libasound.so access in snd_dlopen

Speed up repeated calls to snd_dlopen by caching the path to
libasound.so; this reduces the instructions executed by
snd_device_name_hint by 40 percent.

Signed-off-by: John Lindgren <john.lindgren@tds.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/dlmisc.c