mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
* Fix whitespace
This commit is contained in:
parent
182b344818
commit
e0eb1b4227
1 changed files with 11 additions and 11 deletions
|
@ -2398,17 +2398,17 @@ qboolean S_AL_Init( soundInterface_t *si )
|
|||
// get all available devices + the default device name.
|
||||
if(enumeration_ext)
|
||||
{
|
||||
devicelist = qalcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER);
|
||||
defaultdevice = qalcGetString(NULL, ALC_DEFAULT_ALL_DEVICES_SPECIFIER);
|
||||
}
|
||||
else
|
||||
{
|
||||
// We don't have ALC_ENUMERATE_ALL_EXT but normal enumeration.
|
||||
devicelist = qalcGetString(NULL, ALC_DEVICE_SPECIFIER);
|
||||
defaultdevice = qalcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
|
||||
enumeration_ext = qtrue;
|
||||
}
|
||||
|
||||
devicelist = qalcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER);
|
||||
defaultdevice = qalcGetString(NULL, ALC_DEFAULT_ALL_DEVICES_SPECIFIER);
|
||||
}
|
||||
else
|
||||
{
|
||||
// We don't have ALC_ENUMERATE_ALL_EXT but normal enumeration.
|
||||
devicelist = qalcGetString(NULL, ALC_DEVICE_SPECIFIER);
|
||||
defaultdevice = qalcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
|
||||
enumeration_ext = qtrue;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
// check whether the default device is generic hardware. If it is, change to
|
||||
// Generic Software as that one works more reliably with various sound systems.
|
||||
|
|
Loading…
Reference in a new issue