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

QAudioDecoder gives wrong type for 8-bit WAV file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.4.2
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Windows 8.1, random WAVE file downloaded from the internet. I can attach it if you want it.
    • Commits:
      b109f093d9bad84d54d5114735f311762f0eb42a

      Description

      I fed a .wav file with 8-bit data to QAudioDecoder. In a slot connected to the bufferAvailable signal, I call QAudioFormat::sampleType(). I got back QAudioFormat::SignedInt. My reading about the WAVE file format tells me that 8-bit files are always unsigned.

        Attachments

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

          Activity

            People

            Assignee:
            ylopes Yoann Lopes
            Reporter:
            johnweeks John Weeks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes