Improve audiorecorder example.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 4 Oct 2013 15:02:18 +0000 (17:02 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 9 Oct 2013 16:01:52 +0000 (18:01 +0200)
commita1cd3c9274789a8735bf5c02094c5c4034992aa6
tree962a8de6c4d0ebc2294ed6f4a458484983f2eb14
parent7c9ff56f2f828410efee049ae01e712dc24aaa77
Improve audiorecorder example.

- Possibility to select channel count
- Show audio level for unsigned integer samples
- Show audio level for each channel
- Correctly set output file location
- Update controls depending on the recorder status (rather than the state)

Change-Id: Ieb08c379bb01a11ce1aa52a9d92ea1f320c87d49
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
examples/multimedia/audiorecorder/audiorecorder.cpp
examples/multimedia/audiorecorder/audiorecorder.h
examples/multimedia/audiorecorder/audiorecorder.ui
examples/multimedia/audiorecorder/audiorecorder_small.ui
examples/multimedia/audiorecorder/qaudiolevel.cpp