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

setBufferSize() causes wrong playback rate in Windows 7 VMWare

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.12.0
    • Component/s: Multimedia
    • Environment:
      1) 2008 Mac Pro (Quad Xeon) running Windows 7 via Boot Camp
      2) 2008 Mac Pro (Quad Xeon) running Windows 7 in a VMWare Fusion VM
      3) 2014 MacBook Pro Retina running Windows 7 in a VMware Fusion VM

      Description

      Tested in example qtmultimedia\examples\audiooutput. Set buffer size right after m_audioOutput creation:

      m_audioOutput->setBufferSize((m_format.sampleRate()*m_format.channelCount()*(m_format.sampleSize()/8))/20); // 50mS buffer 
      

      The sine wave sound is now very stuttery and not correct.
      This problem does not occur under MacOS/X.

        Attachments

        1. broken.txt
          59 kB
        2. works.txt
          123 kB

          Issue Links

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

            Activity

              People

              Assignee:
              valentyn.doroshchuk Valentyn Doroshchuk
              Reporter:
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes