Commit 19a5884e authored by Mika Salmela's avatar Mika Salmela
Browse files

OpenSL ES: Fix crash caused by overcommitting device with data


Sometimes m_format.bytesForDuration(delta) is larger than the QByteArray
containing the data. Therefore select the minimum of these.

Task-number: QTBUG-61085
Change-Id: I20a8ffb77095aecd2711f53d4c9fc7da7f9ae8e2
Reviewed-by: default avatarChristian Stromme <christian.stromme@qt.io>
parent a6cc1af0
Showing with 5 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment