mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
contrib(win32): use WASAPI as the only PortAudio host api
The DirectSound host api implementation in PortAudio has multiple issues: - requires utf8 support patch - can't enumerate the default communication devices - reports incorrect default sample-rates for devices The WASAPI host api implementation needs to be patched to access the default comm devices, but functions better out-of-the-box. Change-Id: Ie27ee3e1418dd6d734ad6ad7685f2dc44db86007 Gitlab: #463
This commit is contained in:
@ -283,11 +283,11 @@ def make(pkg_info, force, sdk_version, toolset, isPlugin):
|
||||
if use_cmake:
|
||||
cmake_defines = ""
|
||||
for define in pkg_info.get('defines', []):
|
||||
cmake_defines += " -D" + define + " "
|
||||
cmake_defines += " -D" + define
|
||||
if not pkg_up_to_date or current_version is None or force:
|
||||
cmake_conf_script = "cmake -G " + getCMakeGenerator(getLatestVSVersion(
|
||||
)) + cmake_defines + " -S '" + pkg_build_path + "' -B '" + pkg_build_path + "\\build'"
|
||||
log.debug("Configuring with Cmake", cmake_conf_script)
|
||||
log.debug("Configuring with Cmake")
|
||||
result = getSHrunner().exec_batch(cmake_conf_script)
|
||||
if result[0] != 0:
|
||||
log.error("Error configuring with CMake")
|
||||
|
Reference in New Issue
Block a user