Added volume control for QAudioOutput & QAudioInput (alsa)
QTBUG-25454 - Added update to docs on volume control. - Added internal volume adjustment for alsa implementation. - Enabled float sample option in QAudioDeviceInfo (alsa). Change-Id: I6b89fc8beb457d71be9ad71b538c86a008570f07 Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Kurt Korbatits <kurt.korbatits@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
8c12864361
commit
1ac9318645
@@ -279,7 +279,7 @@ int QAudioInput::bufferSize() const
|
||||
/*!
|
||||
Returns the amount of audio data available to read in bytes.
|
||||
|
||||
NOTE: returned value is only valid while in QAudio::ActiveState or QAudio::IdleState
|
||||
Note: returned value is only valid while in QAudio::ActiveState or QAudio::IdleState
|
||||
state, otherwise returns zero.
|
||||
*/
|
||||
|
||||
@@ -332,6 +332,8 @@ int QAudioInput::notifyInterval() const
|
||||
If the device does not support adjusting the input
|
||||
volume then \a volume will be ignored and the input
|
||||
volume will remain at 1.0.
|
||||
|
||||
Note: Adjustments to the volume will change the volume of this audio stream, not the global volume.
|
||||
*/
|
||||
void QAudioInput::setVolume(qreal volume)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user