forked from mia/Aegisub
Add option to build with OpenAL on Windows
This commit is contained in:
parent
1f66e776c1
commit
8aa0842b14
3 changed files with 15 additions and 0 deletions
|
@ -97,6 +97,13 @@
|
|||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- OpenAL support -->
|
||||
<ItemDefinitionGroup Condition="'$(AegisubUseOpenAl)'=='true'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WITH_OPENAL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- DirectSound support -->
|
||||
<PropertyGroup>
|
||||
<DirectXSDKDir Condition="'$(DirectXSDKDir)'==''">$(DXSDK_DIR)</DirectXSDKDir>
|
||||
|
|
|
@ -125,6 +125,13 @@
|
|||
Description="A high-speed fourier transformation library which improves the spectograph speed and quality. Requires a copy of the FFTW 3.2 source."
|
||||
/>
|
||||
|
||||
<BoolProperty
|
||||
Name="AegisubUseOpenAl"
|
||||
Category="Features"
|
||||
DisplayName="OpenAL"
|
||||
Description="OpenAL audio player. Requires a copy of the OpenAL SDK."
|
||||
/>
|
||||
|
||||
<!-- Library Paths -->
|
||||
<StringProperty
|
||||
Subtype="folder"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
<AegisubUseDSound>true</AegisubUseDSound>
|
||||
<AegisubUseFfms>true</AegisubUseFfms>
|
||||
<AegisubUseFftw>true</AegisubUseFftw>
|
||||
<AegisubUseOpenAl>false</AegisubUseOpenAl>
|
||||
<AegisubUseUpdateChecker>true</AegisubUseUpdateChecker>
|
||||
<CsriLibraryName>vsfilter.lib</CsriLibraryName>
|
||||
<DirectXSDKPath>$(DXSDK_DIR)</DirectXSDKPath>
|
||||
|
|
Loading…
Reference in a new issue