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

QAudioInput produces unusable data on Mac OS X 10.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 4.7.1
    • 4.6.0
    • Multimedia
    • None
    • Mac OS X 10.5
    • macOS

    Description

      When attempting to record audio with QAudioInput into a QBuffer/QFile, with the format 8000 Hz rate, 16 bits, little-endian, mono, signed, the resulting audio data is half corrupted.

      Closer examination suggests the data is 0.5 seconds in requested format, then 0.5 seconds either offset by one byte or flipped into big-endian order. Looking through the Qt sources, it looks like the AudioInput on Mac uses 2 internal buffers while recording, so the other buffer being incorrectly set up might be an explanation.

      Attachments

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

        Activity

          People

            jmcphers Justin McPherson (closed Nokia identity) (Inactive)
            lilvas Lauri Ilvas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes