mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-17 01:11:18 +00:00
Messed up previous commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2948 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dfb02eebbf
commit
5852614cf5
1 changed files with 5 additions and 2 deletions
|
@ -136,10 +136,13 @@ static qboolean Alsa_InitAlsa(void)
|
||||||
|
|
||||||
// Try alternative names of libasound, sometimes it is not linked correctly.
|
// Try alternative names of libasound, sometimes it is not linked correctly.
|
||||||
alsasharedobject = dlopen("libasound.so.2", RTLD_LAZY|RTLD_LOCAL);
|
alsasharedobject = dlopen("libasound.so.2", RTLD_LAZY|RTLD_LOCAL);
|
||||||
alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
|
|
||||||
if (!alsasharedobject)
|
if (!alsasharedobject)
|
||||||
{
|
{
|
||||||
return false;
|
alsasharedobject = dlopen("libasound.so", RTLD_LAZY|RTLD_LOCAL);
|
||||||
|
if (!alsasharedobject)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue