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

Demo Spectrum wav data size is not calculated correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 4.7.1
    • 4.7.0
    • Multimedia
    • None
    • Nokia QTSDK WIn XP
    • ca53010303bca1b686fdd0488e0549c0a42a60a1

      A wav file consist of header and data , but optionally others chunks can follow as for example "smpl" (see attachment)
      Spectrum demo doesn't consider that and loads all the bytes following the header as those are sound samples ... of course that causes clicks when played

      an example of this error is at WavFile.cpp line 131 m_dataLength = device.size() - HeaderLength;

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

            jmcphers Justin McPherson (closed Nokia identity) (Inactive)
            lucarocchi Luca Rocchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes