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>
This commit is contained in:
committed by
Qt by Nokia
parent
79107a3899
commit
29a2d09a43
@@ -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().
|
||||
|
||||
Reference in New Issue
Block a user