diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-04-29 16:30:16 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-05 09:24:01 (GMT) |
commit | e9dda3cabdcfdeb5d659b94640410b486ad58921 (patch) | |
tree | 169f3f6651c09d1775983c271df169be78d524d4 /demos/spectrum/spectrum.pro | |
parent | 6c8acf656a9293db2fdbad569bb1fa3a83975462 (diff) | |
download | Qt-e9dda3cabdcfdeb5d659b94640410b486ad58921.zip Qt-e9dda3cabdcfdeb5d659b94640410b486ad58921.tar.gz Qt-e9dda3cabdcfdeb5d659b94640410b486ad58921.tar.bz2 |
Add spectrum analyzer demo app
This application is a demo which uses the QtMultimedia APIs to
capture and play back PCM audio. While either recording or playback
is ongoing, the application performs real-time level and frequency
spectrum analysis.
Reviewed-by: Alessandro Portale
Diffstat (limited to 'demos/spectrum/spectrum.pro')
-rw-r--r-- | demos/spectrum/spectrum.pro | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/demos/spectrum/spectrum.pro b/demos/spectrum/spectrum.pro new file mode 100644 index 0000000..823f610 --- /dev/null +++ b/demos/spectrum/spectrum.pro @@ -0,0 +1,39 @@ +include(spectrum.pri) + +TEMPLATE = subdirs + +# Ensure that library is built before application +CONFIG += ordered + +!contains(DEFINES, DISABLE_FFT) { + SUBDIRS += fftreal +} + +SUBDIRS += app + +TARGET = spectrum + +symbian { + # Create a 'make sis' rule which can be run from the top-level + + include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri) + + # UID for the SIS file + TARGET.UID3 = 0xA000E3FA + + epoc32_dir = $${EPOCROOT}epoc32 + release_dir = $${epoc32_dir}/release/$(PLATFORM)/$(TARGET) + + bin.sources = $${release_dir}/spectrum.exe + !contains(DEFINES, DISABLE_FFT) { + bin.sources += $${release_dir}/fftreal.dll + } + bin.path = !:/sys/bin + rsc.sources = $${epoc32_dir}/data/z/resource/apps/spectrum.rsc + rsc.path = !:/resource/apps + mif.sources = $${epoc32_dir}/data/z/resource/apps/spectrum.mif + mif.path = !:/resource/apps + reg_rsc.sources = $${epoc32_dir}/data/z/private/10003a3f/import/apps/spectrum_reg.rsc + reg_rsc.path = !:/private/10003a3f/import/apps + DEPLOYMENT += bin rsc mif reg_rsc +} |