diff noconfig.pri @ 2197:1a9541992121 bqaudiostream

Opus support on Windows (64-bit so far)
author Chris Cannam
date Fri, 25 Jan 2019 12:29:12 +0000
parents d97c264355a5
children be656d45bda0
line wrap: on
line diff
--- a/noconfig.pri	Wed Jan 23 14:45:46 2019 +0000
+++ b/noconfig.pri	Fri Jan 25 12:29:12 2019 +0000
@@ -65,10 +65,6 @@
 
     DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION
 
-#!!! to add
-    DEFINES -= HAVE_OPUS
-    LIBS -= -lopusfile
-
     QMAKE_CXXFLAGS_RELEASE += -ffast-math
 
     # Don't have liblo
@@ -85,7 +81,7 @@
     # we want to do 32-bit builds with MSVC as well, then we'll
     # need to add a way to distinguish the two.
     
-    INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include
+    INCLUDEPATH += $$PWD/sv-dependency-builds/win64-msvc/include $$PWD/sv-dependency-builds/win64-msvc/include/opus
 
     # This seems to be intruding even when we're supposed to be release
 #    CONFIG(debug) {
@@ -100,15 +96,10 @@
 
     DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION
 
-#!!! to add
-    DEFINES -= HAVE_OPUS
-    LIBS -= -lopusfile
-
     QMAKE_CXXFLAGS_RELEASE += -fp:fast -gl
     QMAKE_LFLAGS_RELEASE += -ltcg
 
-    # No Ogg/FLAC support in the sndfile build on this platform yet
-    LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile
+    LIBS -= -lFLAC -lvorbis -lvorbisenc -lvorbisfile
 
     # These have different names
     LIBS -= -lsord-0 -lserd-0