Mercurial > hg > sonic-visualiser
annotate platform-dataquay.pri @ 1354:ae68ebb5fbe8 3.0-integration
Fixes to mp3 decode in subrepo. Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames, fixing the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Both gleaned from madplay source code.
author | Chris Cannam |
---|---|
date | Thu, 24 Nov 2016 17:10:40 +0000 |
parents | 65b8c009a9f2 |
children | 714f8dad57bc |
rev | line source |
---|---|
Chris@530 | 1 |
Chris@638 | 2 exists(config.pri) { |
Chris@638 | 3 include(./config.pri) |
Chris@638 | 4 } |
Chris@530 | 5 |
Chris@930 | 6 CONFIG += staticlib c++11 |
Chris@530 | 7 |
Chris@530 | 8 DEFINES -= USE_REDLAND |
Chris@530 | 9 QMAKE_CXXFLAGS -= -I/usr/include/rasqal -I/usr/include/raptor2 |
Chris@914 | 10 QMAKE_CXXFLAGS -= -Werror |
Chris@530 | 11 EXTRALIBS -= -lrdf |
Chris@530 | 12 |
Chris@530 | 13 DEFINES += USE_SORD |
Chris@572 | 14 # Libraries and paths should be added by config.pri |
Chris@638 | 15 |
Chris@742 | 16 win32-g++ { |
Chris@638 | 17 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include |
Chris@638 | 18 LIBS += -L../../sv-dependency-builds/win32-mingw/lib |
Chris@638 | 19 } |
Chris@742 | 20 win32-msvc* { |
Chris@1264 | 21 # We actually expect MSVC to be used only for 64-bit builds, |
Chris@1264 | 22 # though the qmake spec is still called win32-msvc* |
Chris@1264 | 23 INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include |
Chris@1264 | 24 LIBS += -L../../sv-dependency-builds/win64-msvc/lib |
Chris@742 | 25 } |
Chris@742 | 26 mac* { |
Chris@742 | 27 INCLUDEPATH += ../sv-dependency-builds/osx/include |
Chris@742 | 28 LIBS += -L../sv-dependency-builds/osx/lib |
Chris@742 | 29 } |