Clarify API/docs by introducing the audio "frame", and add helpers.
authorMichael Goddard <michael.goddard@nokia.com>
Tue, 10 Jul 2012 04:26:58 +0000 (14:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Jul 2012 06:01:45 +0000 (08:01 +0200)
commit4d13a15bae0e4ad978e7c455dc26650f6d879862
tree196bd714b3bc5ebc355e88d48b220377dfaf9d37
parent68079a5e220d9ae76ca1ba7a3983dd98dae21634
Clarify API/docs by introducing the audio "frame", and add helpers.

The frame is the interleaved set of one sample for each channel.  Add
some docs and some methods that make working with samples a bit more
convenient.

Adjusted QAudioBuffer to use these helper functions and terminology.

Change-Id: I96db48e659561972d6de2aa19893d29f9a828cd3
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
src/multimedia/audio/qaudiobuffer.cpp
src/multimedia/audio/qaudiobuffer.h
src/multimedia/audio/qaudiobuffer_p.h
src/multimedia/audio/qaudioformat.cpp
src/multimedia/audio/qaudioformat.h
tests/auto/unit/qaudiobuffer/tst_qaudiobuffer.cpp
tests/auto/unit/qaudioformat/tst_qaudioformat.cpp