diff options
author | David Boddie <dboddie@trolltech.com> | 2010-01-15 16:11:09 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-01-15 16:11:09 (GMT) |
commit | 13240f5f0cdb08ec4dbb80482bd0d7d95cb6b530 (patch) | |
tree | c2dadf2c74e4e5b663d57cab23e096a56b5e9039 /doc/src | |
parent | 51fe84689320f9443117196fec2ee25c6353b79b (diff) | |
parent | 7e22fb22acffe1d0f101a8ab3ef05a4ef7ad9b83 (diff) | |
download | Qt-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/src')
-rw-r--r-- | doc/src/snippets/audio/main.cpp | 4 |
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); |