mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 07:46:07 +00:00
Finish Windows ARM64 bringup
SDL2 for ARM64 is not yet checked-in, but I will do that when SDL 2.0.14 is released.
This commit is contained in:
parent
59a73817c8
commit
a6551c320d
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -9,7 +9,7 @@
|
|||||||
url = https://github.com/gabomdq/SDL_GameControllerDB.git
|
url = https://github.com/gabomdq/SDL_GameControllerDB.git
|
||||||
[submodule "soundio/libsoundio"]
|
[submodule "soundio/libsoundio"]
|
||||||
path = soundio/libsoundio
|
path = soundio/libsoundio
|
||||||
url = https://github.com/andrewrk/libsoundio.git
|
url = https://github.com/cgutman/libsoundio.git
|
||||||
[submodule "h264bitstream/h264bitstream"]
|
[submodule "h264bitstream/h264bitstream"]
|
||||||
path = h264bitstream/h264bitstream
|
path = h264bitstream/h264bitstream
|
||||||
url = https://github.com/aizvorski/h264bitstream.git
|
url = https://github.com/aizvorski/h264bitstream.git
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "streaming/video/ffmpeg.h"
|
#include "streaming/video/ffmpeg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(Q_OS_WIN32)
|
#if defined(Q_OS_WIN32) && defined(Q_PROCESSOR_X86)
|
||||||
#include "antihookingprotection.h"
|
#include "antihookingprotection.h"
|
||||||
#elif defined(Q_OS_LINUX)
|
#elif defined(Q_OS_LINUX)
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
@ -42,7 +42,7 @@ bool SdlAudioRenderer::prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION*
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_AudioBuffer = malloc(m_FrameSize);
|
m_AudioBuffer = SDL_malloc(m_FrameSize);
|
||||||
if (m_AudioBuffer == nullptr) {
|
if (m_AudioBuffer == nullptr) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Failed to allocate audio buffer");
|
"Failed to allocate audio buffer");
|
||||||
@ -74,7 +74,7 @@ SdlAudioRenderer::~SdlAudioRenderer()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_AudioBuffer != nullptr) {
|
if (m_AudioBuffer != nullptr) {
|
||||||
free(m_AudioBuffer);
|
SDL_free(m_AudioBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit fb23636c95e4a86526bedc903ae9e79f94936d74
|
Subproject commit b9160c575d13c33298e3c6a8c1302b20b6a40412
|
@ -35,7 +35,7 @@
|
|||||||
<![CDATA[Installed OR MPSSVC_START="#2"]]>
|
<![CDATA[Installed OR MPSSVC_START="#2"]]>
|
||||||
</Condition>
|
</Condition>
|
||||||
|
|
||||||
<?if $(var.Platform) = x64 ?>
|
<?if $(var.Platform) = x64 Or $(var.Platform) = arm64 ?>
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
||||||
<?else ?>
|
<?else ?>
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user