Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
None
-
Android 4.4.2, deployed from Ubuntu 14.04 with android-20
-
18d6560db15d8f65b221717b9a769fd0f00cec35
Description
The elapsedUSecs() method from QAudioInput has problems when the number of microseconds exceeds the bounds of an 32bit integer. Then the amount becomes negative. From then on the amount changes from negative to positive at some point, then it again raises up to the 32bit and gets negative again.
I made a simple test application opening an input stream with an notifyInterval of 10,000 microseconds. The interval dumps a timestamp, bytesReady, elapsedUSecs and processedUSecs into a file.
The test was done on a Samsung S4Mini running Android 4.4.2. The dump file is attached.