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

QWindowsResampler "Failed to setup resampler"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4.3
    • 6.4.1
    • Multimedia
    • None
    • Windows
    • 139138313 (6.4)

    Description

      This is my first direct bug report, so I apologize in advance if I am not following all the bug reporting etiquette.

      The above bug manifests itself in visual studio 2022 on windows 11 as:

      qt.multimedia.audiooutput: Failed to setup resampler

      I eventually tracked the issue down to a initialization order deep within the QT multimedia framework. I created a qt desktop forum post describing this issue but I did not get a follow up (admittedly the post was not too clear).

      I also indirectly reported this bug. I presume piotr may be the best person to address it.

      My project uses the 'Active Object' approach to delegating all my audio processing to a dedicated worker thread.     I attach the source and header for this RtpWorker class.  

       

      It works fine with the workaround preprocessor directives in place 

      #if defined (RESAMPLER_BUG_FIXED) is obviously not defined here.

      Attachments

        1. RtpWorker.cpp
          16 kB
        2. RtpWorker.h
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            piotr Piotr Srebrny (Inactive)
            johnco3 John Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes