Improve audiorecorder example.
authorYoann Lopes <yoann.lopes@digia.com>
Wed, 24 Sep 2014 14:40:21 +0000 (16:40 +0200)
committerYoann Lopes <yoann.lopes@digia.com>
Fri, 26 Sep 2014 12:23:20 +0000 (14:23 +0200)
commit5c30ed55ef41ea85232f63c7ee4fd52a4e7126e2
tree3f052ea304cf36c56daab8c6250653aec88563eb
parentf9de9889f6b909968f31743ab60e66dd356f2a4d
Improve audiorecorder example.

- Show actual recording location
- Update control buttons depending on the recorder state instead of
  the status
- Create audio levels using the actual audio format from the audio
  buffers. The format from the QMediaRecorder might not always contain
  the value actually used.

Task-number: QTBUG-36154
Change-Id: I418b4472b0d984f47efb1a1813da6ef440ba9a40
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
examples/multimedia/audiorecorder/audiorecorder.cpp
examples/multimedia/audiorecorder/audiorecorder.h