diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-02-16 12:55:23 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-02-16 17:57:39 (GMT) |
commit | 53dc6607cf669b977ff40de995bd9b1b8e395b78 (patch) | |
tree | fb83b582460bb91d7a3da9805b6a03a151175cdc /doc/src/snippets/code/doc_src_examples_tutorial.qdoc | |
parent | b03306503cc7de9513aa282b55bda40cea00e128 (diff) | |
download | Qt-53dc6607cf669b977ff40de995bd9b1b8e395b78.zip Qt-53dc6607cf669b977ff40de995bd9b1b8e395b78.tar.gz Qt-53dc6607cf669b977ff40de995bd9b1b8e395b78.tar.bz2 |
Made data generation in audio output example work for all formats
The previous code only worked correctly for mono PCM16 formats. This
meant that:
a) If the device did not support mono, but did support stereo
PCM16, the tone would be played at the wrong pitch.
b) If the device did not support little-endian PCM16 at all
(admittedly unlikely), the example would not run.
Reviewed-by: trustme
Diffstat (limited to 'doc/src/snippets/code/doc_src_examples_tutorial.qdoc')
0 files changed, 0 insertions, 0 deletions