diff options
author | Ali Akhtarzada <ali.akhtarzada@nokia.com> | 2012-07-23 13:16:56 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-24 07:58:22 +0200 |
commit | 29a2d09a43b34c309b32d17a0a5ba2a4737342c5 (patch) | |
tree | 11fafd48e5d1fbaf76303be2fbe0445931d2783f /src/multimedia/audio | |
parent | 79107a3899a078bc6daa985f4346ed21110c3a99 (diff) |
Fixed docs for QAudioInput::bufferSize and setBufferSize
Change milliseconds to bytes
Task-number: QTBUG-26600
Change-Id: I861ae9c35ddc52d58ed95a2148f72d6476f35522
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/multimedia/audio')
-rw-r--r-- | src/multimedia/audio/qaudioinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/audio/qaudioinput.cpp b/src/multimedia/audio/qaudioinput.cpp index c5abb5a4d..b61b01ccf 100644 --- a/src/multimedia/audio/qaudioinput.cpp +++ b/src/multimedia/audio/qaudioinput.cpp @@ -247,7 +247,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 @@ -262,7 +262,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(). |