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

setBufferSize() causes wrong playback rate in Windows 7 VMWare

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0
    • 5.4.1
    • Multimedia
    • 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

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

          Activity

            People

              valentyn.doroshchuk Valentyn Doroshchuk
              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