Add a resampler option for the OpenAL backend
This commit is contained in:
parent
aca628acaf
commit
996ce4497d
6 changed files with 81 additions and 2 deletions
|
|
@ -69,6 +69,7 @@ PClass *DefaultListMenuClass;
|
|||
PClass *DefaultOptionMenuClass;
|
||||
|
||||
void I_BuildALDeviceList(FOptionValues *opt);
|
||||
void I_BuildALResamplersList(FOptionValues *opt);
|
||||
|
||||
DEFINE_GLOBAL_NAMED(OptionSettings, OptionMenuSettings)
|
||||
|
||||
|
|
@ -1433,6 +1434,11 @@ void M_CreateMenus()
|
|||
{
|
||||
I_BuildALDeviceList(*opt);
|
||||
}
|
||||
opt = OptionValues.CheckKey(NAME_Alresamplers);
|
||||
if (opt != nullptr)
|
||||
{
|
||||
I_BuildALResamplersList(*opt);
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue