annotate test-svcore-data-fileio.pro @ 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 ae3a89df2c9d
children e4bd2a532ced
rev   line source
Chris@1332 1
Chris@1332 2 TEMPLATE = app
Chris@1332 3
Chris@1332 4 exists(config.pri) {
Chris@1332 5 include(config.pri)
Chris@1332 6 }
Chris@1332 7
Chris@1332 8 !exists(config.pri) {
Chris@1332 9 include(noconfig.pri)
Chris@1332 10 }
Chris@1332 11
Chris@1332 12 include(base.pri)
Chris@1332 13
Chris@1332 14 CONFIG += console
Chris@1332 15 QT += network xml testlib
Chris@1332 16 QT -= gui
Chris@1332 17
Chris@1344 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@1344 19 macx*: CONFIG -= app_bundle
Chris@1344 20
Chris@1332 21 TARGET = test-svcore-data-fileio
Chris@1332 22
Chris@1332 23 OBJECTS_DIR = o
Chris@1332 24 MOC_DIR = o
Chris@1332 25
Chris@1332 26 include(svcore/data/fileio/test/files.pri)
Chris@1332 27
Chris@1332 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@1332 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@1332 30
Chris@1334 31 QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT}