summaryrefslogtreecommitdiffstats
path: root/src/multimediawidgets
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2017-12-15 14:23:06 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2018-03-21 13:15:25 +0000
commit2831fb0e5035f248988fce12e76ff55495212497 (patch)
tree5e8e5ada8c75dceec160484c0358365df2900c87 /src/multimediawidgets
parentd49abfda2f5bbf15de3a5133c77d5115a75b3c2b (diff)
Audiocapture: Fix setting QAudioEncoderSettings::bitRate
The sample size is now correctly calculated using provided bit rate via QAudioEncoderSettings. The bit rate is calculated like bitrate = sample size * sample rate * channel count Fixed bug when sample size is 8 when bit rate and sample rate is 8000 which is not correct. The bit rate must be 8 * 8000. Task-number: QTBUG-65207 Change-Id: I660fadfaaf6cc63004480fb84165252360b7f75e Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/multimediawidgets')
0 files changed, 0 insertions, 0 deletions