mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Enable XAudio2 for Windows vcpkg build.
Add necessary headers to the dependencies submodule and default the cmake option to on. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Submodule dependencies updated: fa2265a8be...605765f55d
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-02-17 08:32+0000\n"
|
||||
"POT-Creation-Date: 2020-02-24 20:36+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -1126,6 +1126,22 @@ msgstr ""
|
||||
msgid "Disconnected game controller %d"
|
||||
msgstr ""
|
||||
|
||||
#: xaudio2.cpp:35
|
||||
msgid "XAudio2: Enumerating devices failed!"
|
||||
msgstr ""
|
||||
|
||||
#: xaudio2.cpp:69 xaudio2.cpp:353
|
||||
msgid "The XAudio2 interface failed to initialize!"
|
||||
msgstr ""
|
||||
|
||||
#: xaudio2.cpp:384
|
||||
msgid "XAudio2: Creating mastering voice failed!"
|
||||
msgstr ""
|
||||
|
||||
#: xaudio2.cpp:393
|
||||
msgid "XAudio2: Creating source voice failed!"
|
||||
msgstr ""
|
||||
|
||||
#: dsound.cpp:90 dsound.cpp:104
|
||||
#, c-format
|
||||
msgid "Cannot create DirectSound %08x"
|
||||
|
@@ -26,11 +26,7 @@ if(WIN32)
|
||||
# not yet implemented
|
||||
option(ENABLE_DIRECT3D "Enable Direct3D rendering for the wxWidgets port" OFF)
|
||||
|
||||
if(NOT CMAKE_TOOLCHAIN_FILE MATCHES vcpkg)
|
||||
option(ENABLE_XAUDIO2 "Enable xaudio2 sound output for the wxWidgets port" ON)
|
||||
else()
|
||||
option(ENABLE_XAUDIO2 "Enable xaudio2 sound output for the wxWidgets port" OFF)
|
||||
endif()
|
||||
option(ENABLE_XAUDIO2 "Enable xaudio2 sound output for the wxWidgets port" ON)
|
||||
endif()
|
||||
|
||||
option(ENABLE_FAUDIO "Enable FAudio sound output for the wxWidgets port" OFF)
|
||||
|
Reference in New Issue
Block a user