summaryrefslogtreecommitdiffstats
path: root/src/multimedia/playback/qmediaplaylist.cpp
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-10-25 12:29:34 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2019-11-04 12:15:12 +0100
commit8b92454d6fffcee7a8cf1fb5e0c92920c77733c8 (patch)
tree196db2265b611a376419be6487711baa3a93df7f /src/multimedia/playback/qmediaplaylist.cpp
parentb64bdf32ce10b039e8d7b1be18d001e89f315615 (diff)
ALSA: Calculate buffer size based on min period time
When defualt buffer size (100000us) and period time (20000us) are out of range, currently buffer size is computed with respect of either 2 or 4 chunks of maximum buffer time. Which is not enough. Fixing computing of buffer time based on minimum period time: How many minimum periods could fit in maximum suggested buffer time. Fixes: QTBUG-43256 Task-number: QTBUG-79526 Change-Id: I722e5145e3b6d323e306da420ec764db3575225f Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/multimedia/playback/qmediaplaylist.cpp')
0 files changed, 0 insertions, 0 deletions