mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-06-30 23:06:35 +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:
parent
103f988dbf
commit
98f6a09991
14
app/app.pro
14
app/app.pro
@ -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
|
||||||
|
|
||||||
|
2
libs
2
libs
@ -1 +1 @@
|
|||||||
Subproject commit a8007d1ef9c5b2a4e5831812b501152387daf8b9
|
Subproject commit aba5ddffd0019c0e26315614f01de84325208562
|
Loading…
x
Reference in New Issue
Block a user