Fixed docs for QAudioInput::bufferSize and setBufferSize
authorAli Akhtarzada <ali.akhtarzada@nokia.com>
Mon, 23 Jul 2012 11:16:56 +0000 (13:16 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jul 2012 05:58:22 +0000 (07:58 +0200)
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>
src/multimedia/audio/qaudioinput.cpp

index c5abb5a..b61b01c 100644 (file)
@@ -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().