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

QAudioDecoder gives wrong type for 8-bit WAV file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.2
    • 5.4.1
    • Multimedia
    • None
    • Windows 8.1, random WAVE file downloaded from the internet. I can attach it if you want it.
    • 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

        For Gerrit Dashboard: QTBUG-45540
        # Subject Branch Project Status CR V

        Activity

          People

            ylopes Yoann Lopes
            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