mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Scan for alternative libasound filenames. http://www.quakeworld.nu/forum/viewtopic.php?pid=37690#p37690
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2947 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7235d9f9fc
commit
dfb02eebbf
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ static qboolean Alsa_InitAlsa(void)
|
||||||
return alsaworks;
|
return alsaworks;
|
||||||
tried = true;
|
tried = true;
|
||||||
|
|
||||||
|
// Try alternative names of libasound, sometimes it is not linked correctly.
|
||||||
|
alsasharedobject = dlopen("libasound.so.2", RTLD_LAZY|RTLD_LOCAL);
|
||||||
alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
|
alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
|
||||||
if (!alsasharedobject)
|
if (!alsasharedobject)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue