summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-01-15 16:11:09 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-01-15 16:11:09 (GMT)
commit13240f5f0cdb08ec4dbb80482bd0d7d95cb6b530 (patch)
treec2dadf2c74e4e5b663d57cab23e096a56b5e9039 /doc
parent51fe84689320f9443117196fec2ee25c6353b79b (diff)
parent7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83 (diff)
downloadQt-13240f5f0cdb08ec4dbb80482bd0d7d95cb6b530.zip
Qt-13240f5f0cdb08ec4dbb80482bd0d7d95cb6b530.tar.gz
Qt-13240f5f0cdb08ec4dbb80482bd0d7d95cb6b530.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/audio/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/audio/main.cpp b/doc/src/snippets/audio/main.cpp
index f000075..019f208 100644
--- a/doc/src/snippets/audio/main.cpp
+++ b/doc/src/snippets/audio/main.cpp
@@ -89,9 +89,9 @@ private:
{
//![1]
QAudioFormat format;
- format.setSampleRate(44100);
+ format.setFrequency(44100);
//![1]
- format.setChannelCount(2);
+ format.setChannels(2);
format.setSampleSize(16);
format.setCodec("audio/pcm");
format.setByteOrder(QAudioFormat::LittleEndian);