view config.pri.in @ 1472:59c6b75da437 3.0-integration

Fix race condition in first-time recording, where adding the recording wave model would prompt the audio play source to note that its channel count had increased (from 0 to, say, 2) and thus to cause the audio device to be reopened, stopping recording. Fix is to make this only happen if channel count increases beyond that of the device, which shouldn't happen in the recording case
author Chris Cannam
date Wed, 04 Jan 2017 11:48:03 +0000
parents 9401d021b47b
children 79b2d1f60ef3
line wrap: on
line source

CONFIG += @QMAKE_CONFIG@

DEFINES += @HAVES@

QMAKE_CC = @CC@
QMAKE_CXX = @CXX@
QMAKE_LINK = @CXX@

QMAKE_CFLAGS += @CFLAGS@
QMAKE_CXXFLAGS += @CXXFLAGS@
QMAKE_LFLAGS += @LDFLAGS@

linux*:LIBS += -lasound -ldl

macx*:DEFINES += HAVE_COREAUDIO
macx*:LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices

LIBS += @LIBS@

DEFINES += HAVE_PIPER HAVE_PLUGIN_CHECKER_HELPER HAVE_POSIX_MEMALIGN