summaryrefslogtreecommitdiffstats
path: root/src/multimedia
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-11 08:34:08 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-11 08:34:08 (GMT)
commitb2a85acc6e17240ec6c8667f5ed3be26426ac57d (patch)
tree60071538955a5e34cff12213c55c20d0cce3c240 /src/multimedia
parenta4bd18a3640fcad545fbd5a85374eb0056687dee (diff)
downloadQt-b2a85acc6e17240ec6c8667f5ed3be26426ac57d.zip
Qt-b2a85acc6e17240ec6c8667f5ed3be26426ac57d.tar.gz
Qt-b2a85acc6e17240ec6c8667f5ed3be26426ac57d.tar.bz2
Fixed typo in QAudioInput bufferSize documentation
Docs stated that the bufferSize was a value in milliseconds. Corrected this to bytes. Reviewed-by: trustme
Diffstat (limited to 'src/multimedia')
-rw-r--r--src/multimedia/audio/qaudioinput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp
index c99e870..2fef962 100644
--- a/src/multimedia/audio/qaudioinput.cpp
+++ b/src/multimedia/audio/qaudioinput.cpp
@@ -300,7 +300,7 @@ void QAudioInput::resume()
}
/*!
- Sets the audio buffer size to \a value milliseconds.
+ Sets the audio buffer size to \a value bytes.
Note: This function can be called anytime before start(), calls to this
are ignored after start(). It should not be assumed that the buffer size
@@ -315,7 +315,7 @@ void QAudioInput::setBufferSize(int value)
}
/*!
- Returns the audio buffer size in milliseconds.
+ Returns the audio buffer size in bytes.
If called before start(), returns platform default value.
If called before start() but setBufferSize() was called prior, returns value set by setBufferSize().