annotate test-svcore-data-fileio.pro @ 269:39fb206b1153 piper-nopiper

Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author Chris Cannam
date Thu, 24 Nov 2016 13:32:04 +0000
parents 382f33b7f00e
children 6122159556bd
rev   line source
Chris@260 1
Chris@260 2 TEMPLATE = app
Chris@260 3
Chris@260 4 exists(config.pri) {
Chris@260 5 include(config.pri)
Chris@260 6 }
Chris@260 7
Chris@260 8 !exists(config.pri) {
Chris@260 9 include(noconfig.pri)
Chris@260 10 }
Chris@260 11
Chris@260 12 include(base.pri)
Chris@260 13
Chris@260 14 CONFIG += console
Chris@260 15 QT += network xml testlib
Chris@260 16 QT -= gui
Chris@260 17
Chris@260 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@260 19 macx*: CONFIG -= app_bundle
Chris@260 20
Chris@260 21 TARGET = test-svcore-data-fileio
Chris@260 22
Chris@260 23 OBJECTS_DIR = o
Chris@260 24 MOC_DIR = o
Chris@260 25
Chris@260 26 include(svcore/data/fileio/test/files.pri)
Chris@260 27
Chris@260 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@260 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@260 30
Chris@260 31 QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT}