mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Use a Ne10-optimized libopus build for Steam Link
Steam Link is an incredibly CPU-constrained platform, so it needs all the help it can get to avoid audio underruns.
This commit is contained in:
+13
-1
@@ -69,7 +69,12 @@ macx:!disable-prebuilts {
|
|||||||
|
|
||||||
unix:if(!macx|disable-prebuilts) {
|
unix:if(!macx|disable-prebuilts) {
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += openssl sdl2 SDL2_ttf opus
|
PKGCONFIG += openssl sdl2 SDL2_ttf
|
||||||
|
|
||||||
|
# We have our own optimized libopus.a for Steam Link
|
||||||
|
if(!config_SL|disable-prebuilts) {
|
||||||
|
PKGCONFIG += opus
|
||||||
|
}
|
||||||
|
|
||||||
!disable-ffmpeg {
|
!disable-ffmpeg {
|
||||||
packagesExist(libavcodec) {
|
packagesExist(libavcodec) {
|
||||||
@@ -364,6 +369,13 @@ config_EGL {
|
|||||||
config_SL {
|
config_SL {
|
||||||
message(Steam Link build configuration selected)
|
message(Steam Link build configuration selected)
|
||||||
|
|
||||||
|
!disable-prebuilts {
|
||||||
|
# Link against our NEON-optimized libopus build
|
||||||
|
LIBS += -L$$PWD/../libs/steamlink/lib
|
||||||
|
INCLUDEPATH += $$PWD/../libs/steamlink/include
|
||||||
|
LIBS += -lopus -larmasm -lNE10
|
||||||
|
}
|
||||||
|
|
||||||
DEFINES += EMBEDDED_BUILD STEAM_LINK HAVE_SLVIDEO HAVE_SLAUDIO
|
DEFINES += EMBEDDED_BUILD STEAM_LINK HAVE_SLVIDEO HAVE_SLAUDIO
|
||||||
LIBS += -lSLVideo -lSLAudio
|
LIBS += -lSLVideo -lSLAudio
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule libs updated: a8007d1ef9...aba5ddffd0
Reference in New Issue
Block a user