Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40804

QAudioInput elapsedUSecs return value is not qint64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.3.1
    • Multimedia
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            dualfaces Andreas Vorpahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes