Add new implementation of QSound class
authorMithra Pattison <mithra.pattison@nokia.com>
Thu, 22 Dec 2011 05:12:03 +0000 (15:12 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Dec 2011 04:03:45 +0000 (05:03 +0100)
commitf9ec11a25e0d04485745fbb9d9fb929da3459826
treefbbdc623b99b9da4eeffbc502324f94d2e40942f
parentc13a13c4866bdacc066d9921290eed41e1b54a8b
Add new implementation of QSound class

Added a re-implementation of QSound, using functionality derived from
QSoundEffect. QSound API remains the same as the original 4.x version.

It offers both a static interface (with auto resource cleanup on sound
completion), as well as an object instance interface for more detailed
control.

Change-Id: I85c00dd88547f8dea9b1e1ef2da31d2f2e28a172
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
16 files changed:
doc/src/snippets/multimedia-snippets/qsound.cpp [new file with mode: 0644]
src/multimedia/effects/effects.pri
src/multimedia/effects/qsound.cpp [new file with mode: 0644]
src/multimedia/effects/qsound.h [new file with mode: 0644]
src/multimedia/effects/qsoundeffect.cpp
src/multimedia/effects/qsoundeffect.h
src/multimedia/effects/qsoundeffect_pulse_p.cpp
src/multimedia/effects/qsoundeffect_pulse_p.h
src/multimedia/effects/qsoundeffect_qmedia_p.cpp
src/multimedia/effects/qsoundeffect_qmedia_p.h
tests/auto/integration/multimedia.pro
tests/auto/integration/qsound/qsound.pro [new file with mode: 0644]
tests/auto/integration/qsound/test.wav [new file with mode: 0644]
tests/auto/integration/qsound/test2.wav [new file with mode: 0644]
tests/auto/integration/qsound/tst_qsound.cpp [new file with mode: 0644]
tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp